diff options
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 */ | ||