summary refs log tree commit diff stats
path: root/sap.h
diff options
context:
space:
mode:
Diffstat (limited to 'sap.h')
-rw-r--r--sap.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/sap.h b/sap.h new file mode 100644 index 0000000..5288e57 --- /dev/null +++ b/sap.h
@@ -0,0 +1,34 @@
1#ifndef SAP_H_11D8D668
2#define SAP_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#include "director.h"
12
13class sap {
14public:
15
16 sap(
17 std::string configFile,
18 std::mt19937& rng);
19
20 void run() const;
21
22private:
23
24 void sendTweet(Magick::Image image) const;
25
26 std::mt19937& rng_;
27 std::unique_ptr<twitter::client> client_;
28 rawr kgramstats_;
29 std::unique_ptr<designer> layout_;
30 std::unique_ptr<director> director_;
31
32};
33
34#endif /* end of include guard: SAP_H_11D8D668 */