diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-08-25 08:51:41 -0400 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-08-25 08:51:41 -0400 |
| commit | 25bc817bc4a68b81a0ff0c2485c2c903a8e3851f (patch) | |
| tree | 9bcdbe2f67daee557ae9b4d1af7007944740f884 /fanmail.h | |
| download | fanmail-25bc817bc4a68b81a0ff0c2485c2c903a8e3851f.tar.gz fanmail-25bc817bc4a68b81a0ff0c2485c2c903a8e3851f.tar.bz2 fanmail-25bc817bc4a68b81a0ff0c2485c2c903a8e3851f.zip | |
Created bot
Diffstat (limited to 'fanmail.h')
| -rw-r--r-- | fanmail.h | 33 |
1 files changed, 33 insertions, 0 deletions
| diff --git a/fanmail.h b/fanmail.h new file mode 100644 index 0000000..a9ef046 --- /dev/null +++ b/fanmail.h | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | #ifndef FANMAIL_H_11D8D668 | ||
| 2 | #define FANMAIL_H_11D8D668 | ||
| 3 | |||
| 4 | #include <random> | ||
| 5 | #include <string> | ||
| 6 | #include <memory> | ||
| 7 | #include <Magick++.h> | ||
| 8 | #include <twitter.h> | ||
| 9 | #include <rawr.h> | ||
| 10 | #include "designer.h" | ||
| 11 | |||
| 12 | class fanmail { | ||
| 13 | public: | ||
| 14 | |||
| 15 | fanmail( | ||
| 16 | std::string configFile, | ||
| 17 | std::mt19937& rng); | ||
| 18 | |||
| 19 | void run() const; | ||
| 20 | |||
| 21 | private: | ||
| 22 | |||
| 23 | void sendTweet(Magick::Image image, std::string doc) const; | ||
| 24 | |||
| 25 | std::mt19937& rng_; | ||
| 26 | std::unique_ptr<twitter::auth> auth_; | ||
| 27 | std::unique_ptr<twitter::client> client_; | ||
| 28 | std::unique_ptr<designer> layout_; | ||
| 29 | rawr kgramstats_; | ||
| 30 | |||
| 31 | }; | ||
| 32 | |||
| 33 | #endif /* end of include guard: SAP_H_11D8D668 */ | ||
