From 891d57d200f55b91f80b6d3b4dd0c30479be6109 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Tue, 12 Apr 2016 18:40:52 -0400 Subject: Added basic ability to tweet --- src/twitter.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/twitter.h (limited to 'src/twitter.h') diff --git a/src/twitter.h b/src/twitter.h new file mode 100644 index 0000000..39618c9 --- /dev/null +++ b/src/twitter.h @@ -0,0 +1,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 + +using nlohmann::json; + +#include "auth.h" +#include "client.h" +#include "tweet.h" + +#endif /* end of include guard: TWITTER_H_AC7A7666 */ -- cgit 1.4.1