about summary refs log tree commit diff stats
path: root/fanmail.h
diff options
context:
space:
mode:
Diffstat (limited to 'fanmail.h')
-rw-r--r--fanmail.h33
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
12class fanmail {
13public:
14
15 fanmail(
16 std::string configFile,
17 std::mt19937& rng);
18
19 void run() const;
20
21private:
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 */