diff options
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 */ | ||