diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-04-12 18:40:52 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-04-12 18:40:52 -0400 |
commit | 891d57d200f55b91f80b6d3b4dd0c30479be6109 (patch) | |
tree | e87d1566ff941aa5003e1f937ccbb497fe1606a2 /src/client.h | |
download | libtwittercpp-891d57d200f55b91f80b6d3b4dd0c30479be6109.tar.gz libtwittercpp-891d57d200f55b91f80b6d3b4dd0c30479be6109.tar.bz2 libtwittercpp-891d57d200f55b91f80b6d3b4dd0c30479be6109.zip |
Added basic ability to tweet
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 29 |
1 files changed, 29 insertions, 0 deletions
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 @@ | |||
1 | #ifndef TWITTER_H_ABFF6A12 | ||
2 | #define TWITTER_H_ABFF6A12 | ||
3 | |||
4 | #include "twitter.h" | ||
5 | |||
6 | namespace OAuth { | ||
7 | class Consumer; | ||
8 | class Token; | ||
9 | class Client; | ||
10 | }; | ||
11 | |||
12 | namespace twitter { | ||
13 | |||
14 | class client { | ||
15 | public: | ||
16 | client(const auth& _auth); | ||
17 | ~client(); | ||
18 | |||
19 | response updateStatus(std::string msg, tweet& result); | ||
20 | |||
21 | private: | ||
22 | OAuth::Consumer* _oauth_consumer; | ||
23 | OAuth::Token* _oauth_token; | ||
24 | OAuth::Client* _oauth_client; | ||
25 | }; | ||
26 | |||
27 | }; | ||
28 | |||
29 | #endif /* end of include guard: TWITTER_H_ABFF6A12 */ | ||