summary refs log tree commit diff stats
path: root/sap.h
blob: 5288e5769c8991d105c718108674074daf0291d0 (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
34
#ifndef SAP_H_11D8D668
#define SAP_H_11D8D668

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

class sap {
public:

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

  void run() const;

private:

  void sendTweet(Magick::Image image) const;

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

};

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