about summary refs log tree commit diff stats
path: root/src/twitter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/twitter.h')
-rw-r--r--src/twitter.h24
1 files changed, 2 insertions, 22 deletions
diff --git a/src/twitter.h b/src/twitter.h index 39618c9..f9534c6 100644 --- a/src/twitter.h +++ b/src/twitter.h
@@ -3,32 +3,12 @@
3 3
4namespace twitter { 4namespace twitter {
5 5
6 enum class response {
7 ok,
8 curl_error,
9 bad_auth,
10 limited,
11 server_error,
12 server_unavailable,
13 server_overloaded,
14 server_timeout,
15 suspended,
16 bad_token,
17 duplicate_status,
18 suspected_spam,
19 write_restricted,
20 bad_length,
21 unknown_error
22 };
23
24 class tweet; 6 class tweet;
25 7
26}; 8};
27 9
28#include <json.hpp> 10#include "codes.h"
29 11#include "util.h"
30using nlohmann::json;
31
32#include "auth.h" 12#include "auth.h"
33#include "client.h" 13#include "client.h"
34#include "tweet.h" 14#include "tweet.h"