diff options
Diffstat (limited to 'sap.h')
-rw-r--r-- | sap.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sap.h b/sap.h index 5288e57..44ece23 100644 --- a/sap.h +++ b/sap.h | |||
@@ -5,7 +5,7 @@ | |||
5 | #include <string> | 5 | #include <string> |
6 | #include <memory> | 6 | #include <memory> |
7 | #include <Magick++.h> | 7 | #include <Magick++.h> |
8 | #include <twitter.h> | 8 | #include <mastodonpp.hpp> |
9 | #include <rawr.h> | 9 | #include <rawr.h> |
10 | #include "designer.h" | 10 | #include "designer.h" |
11 | #include "director.h" | 11 | #include "director.h" |
@@ -21,13 +21,15 @@ public: | |||
21 | 21 | ||
22 | private: | 22 | private: |
23 | 23 | ||
24 | void sendTweet(Magick::Image image) const; | 24 | void sendTweet(Magick::Image image, const std::string& text) const; |
25 | 25 | ||
26 | std::mt19937& rng_; | 26 | std::mt19937& rng_; |
27 | std::unique_ptr<twitter::client> client_; | 27 | std::unique_ptr<mastodonpp::Instance> instance_; |
28 | std::unique_ptr<mastodonpp::Connection> connection_; | ||
28 | rawr kgramstats_; | 29 | rawr kgramstats_; |
29 | std::unique_ptr<designer> layout_; | 30 | std::unique_ptr<designer> layout_; |
30 | std::unique_ptr<director> director_; | 31 | std::unique_ptr<director> director_; |
32 | std::string tempfile_; | ||
31 | 33 | ||
32 | }; | 34 | }; |
33 | 35 | ||