about summary refs log tree commit diff stats
path: root/src/client.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2016-04-12 18:40:52 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2016-04-12 18:40:52 -0400
commit891d57d200f55b91f80b6d3b4dd0c30479be6109 (patch)
treee87d1566ff941aa5003e1f937ccbb497fe1606a2 /src/client.h
downloadlibtwittercpp-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.h29
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
6namespace OAuth {
7 class Consumer;
8 class Token;
9 class Client;
10};
11
12namespace 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 */