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/auth.h | |
| download | libtwittercpp-891d57d200f55b91f80b6d3b4dd0c30479be6109.tar.gz libtwittercpp-891d57d200f55b91f80b6d3b4dd0c30479be6109.tar.bz2 libtwittercpp-891d57d200f55b91f80b6d3b4dd0c30479be6109.zip | |
Added basic ability to tweet
Diffstat (limited to 'src/auth.h')
| -rw-r--r-- | src/auth.h | 29 |
1 files changed, 29 insertions, 0 deletions
| diff --git a/src/auth.h b/src/auth.h new file mode 100644 index 0000000..ef07e81 --- /dev/null +++ b/src/auth.h | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | #ifndef AUTH_H_48EF85FD | ||
| 2 | #define AUTH_H_48EF85FD | ||
| 3 | |||
| 4 | #include <string> | ||
| 5 | |||
| 6 | namespace twitter { | ||
| 7 | |||
| 8 | class auth { | ||
| 9 | public: | ||
| 10 | void setConsumerKey(std::string _arg); | ||
| 11 | void setConsumerSecret(std::string _arg); | ||
| 12 | void setAccessKey(std::string _arg); | ||
| 13 | void setAccessSecret(std::string _arg); | ||
| 14 | |||
| 15 | std::string getConsumerKey() const; | ||
| 16 | std::string getConsumerSecret() const; | ||
| 17 | std::string getAccessKey() const; | ||
| 18 | std::string getAccessSecret() const; | ||
| 19 | |||
| 20 | private: | ||
| 21 | std::string _consumer_key; | ||
| 22 | std::string _consumer_secret; | ||
| 23 | std::string _access_key; | ||
| 24 | std::string _access_secret; | ||
| 25 | }; | ||
| 26 | |||
| 27 | }; | ||
| 28 | |||
| 29 | #endif /* end of include guard: AUTH_H_48EF85FD */ | ||
