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