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/client.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/client.h (limited to 'src/client.h') diff --git a/src/client.h b/src/client.h new file mode 100644 index 0000000..1ab5c70 --- /dev/null +++ b/src/client.h @@ -0,0 +1,29 @@ +#ifndef TWITTER_H_ABFF6A12 +#define TWITTER_H_ABFF6A12 + +#include "twitter.h" + +namespace OAuth { + class Consumer; + class Token; + class Client; +}; + +namespace twitter { + + class client { + public: + client(const auth& _auth); + ~client(); + + response updateStatus(std::string msg, tweet& result); + + private: + OAuth::Consumer* _oauth_consumer; + OAuth::Token* _oauth_token; + OAuth::Client* _oauth_client; + }; + +}; + +#endif /* end of include guard: TWITTER_H_ABFF6A12 */ -- cgit 1.4.1