about summary refs log tree commit diff stats
path: root/fanmail.h
blob: a9ef0462623444934b9eb75a609b343f111e0ee5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef FANMAIL_H_11D8D668
#define FANMAIL_H_11D8D668

#include <random>
#include <string>
#include <memory>
#include <Magick++.h>
#include <twitter.h>
#include <rawr.h>
#include "designer.h"

class fanmail {
public:

  fanmail(
    std::string configFile,
    std::mt19937& rng);

  void run() const;

private:

  void sendTweet(Magick::Image image, std::string doc) const;

  std::mt19937& rng_;
  std::unique_ptr<twitter::auth> auth_;
  std::unique_ptr<twitter::client> client_;
  std::unique_ptr<designer> layout_;
  rawr kgramstats_;

};

#endif /* end of include guard: SAP_H_11D8D668 */