diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-08-15 18:45:29 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-08-15 18:45:29 -0400 |
commit | 0baed246b6f287e1c03519536011f34e87d19920 (patch) | |
tree | d9eb44f28d8ad5edf7e78f47e3bdb830114a7432 /infinite.h | |
parent | d7fbb904d0dc70d1eada1dbb5f57f2ee9e5b399f (diff) | |
download | infinite-0baed246b6f287e1c03519536011f34e87d19920.tar.gz infinite-0baed246b6f287e1c03519536011f34e87d19920.tar.bz2 infinite-0baed246b6f287e1c03519536011f34e87d19920.zip |
Started to modernize bot (this is completely broken) modern
Diffstat (limited to 'infinite.h')
-rw-r--r-- | infinite.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/infinite.h b/infinite.h new file mode 100644 index 0000000..5d447b5 --- /dev/null +++ b/infinite.h | |||
@@ -0,0 +1,31 @@ | |||
1 | #ifndef INFINITE_H_A2B995C7 | ||
2 | #define INFINITE_H_A2B995C7 | ||
3 | |||
4 | #include <random> | ||
5 | #include <string> | ||
6 | #include <twitter.h> | ||
7 | #include <verbly.h> | ||
8 | #include <memory> | ||
9 | #include <Magick++.h> | ||
10 | #include "sentence.h" | ||
11 | |||
12 | class infinite { | ||
13 | public: | ||
14 | |||
15 | infinite( | ||
16 | std::string configFile, | ||
17 | std::mt19937& rng); | ||
18 | |||
19 | void run() const; | ||
20 | |||
21 | private: | ||
22 | |||
23 | std::mt19937& rng_; | ||
24 | std::unique_ptr<verbly::database> database_; | ||
25 | std::unique_ptr<sentence> generator_; | ||
26 | std::unique_ptr<twitter::client> client_; | ||
27 | std::string groups_; | ||
28 | std::vector<std::string> fonts_; | ||
29 | }; | ||
30 | |||
31 | #endif /* end of include guard: INFINITE_H_A2B995C7 */ | ||