diff options
Diffstat (limited to 'cadence.h')
-rw-r--r-- | cadence.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/cadence.h b/cadence.h new file mode 100644 index 0000000..408c258 --- /dev/null +++ b/cadence.h | |||
@@ -0,0 +1,30 @@ | |||
1 | #ifndef CADENCE_H_D4AE737D | ||
2 | #define CADENCE_H_D4AE737D | ||
3 | |||
4 | #include <random> | ||
5 | #include <string> | ||
6 | #include <map> | ||
7 | #include <vector> | ||
8 | #include <hkutil/database.h> | ||
9 | #include <twitter.h> | ||
10 | |||
11 | class cadence { | ||
12 | public: | ||
13 | |||
14 | cadence( | ||
15 | std::string configFile, | ||
16 | std::mt19937& rng); | ||
17 | |||
18 | void run() const; | ||
19 | |||
20 | private: | ||
21 | |||
22 | std::mt19937& rng_; | ||
23 | std::map<std::string, std::vector<std::string>> groups_; | ||
24 | std::unique_ptr<hatkirby::database> database_; | ||
25 | std::unique_ptr<twitter::client> client_; | ||
26 | |||
27 | }; | ||
28 | |||
29 | |||
30 | #endif /* end of include guard: CADENCE_H_D4AE737D */ | ||