about summary refs log tree commit diff stats
path: root/src/twitter.h
blob: 39618c96a123aaa312e68342faf15afa0d10081a (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
35
36
#ifndef TWITTER_H_AC7A7666
#define TWITTER_H_AC7A7666

namespace twitter {
  
  enum class response {
    ok,
    curl_error,
    bad_auth,
    limited,
    server_error,
    server_unavailable,
    server_overloaded,
    server_timeout,
    suspended,
    bad_token,
    duplicate_status,
    suspected_spam,
    write_restricted,
    bad_length,
    unknown_error
  };
  
  class tweet;
  
};

#include <json.hpp>

using nlohmann::json;

#include "auth.h"
#include "client.h"
#include "tweet.h"

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