diff options
Diffstat (limited to 'src/auth.cpp')
| -rw-r--r-- | src/auth.cpp | 45 |
1 files changed, 0 insertions, 45 deletions
| diff --git a/src/auth.cpp b/src/auth.cpp deleted file mode 100644 index f0f17e0..0000000 --- a/src/auth.cpp +++ /dev/null | |||
| @@ -1,45 +0,0 @@ | |||
| 1 | #include "auth.h" | ||
| 2 | |||
| 3 | namespace twitter { | ||
| 4 | |||
| 5 | void auth::setConsumerKey(std::string _arg) | ||
| 6 | { | ||
| 7 | _consumer_key = _arg; | ||
| 8 | } | ||
| 9 | |||
| 10 | void auth::setConsumerSecret(std::string _arg) | ||
| 11 | { | ||
| 12 | _consumer_secret = _arg; | ||
| 13 | } | ||
| 14 | |||
| 15 | void auth::setAccessKey(std::string _arg) | ||
| 16 | { | ||
| 17 | _access_key = _arg; | ||
| 18 | } | ||
| 19 | |||
| 20 | void auth::setAccessSecret(std::string _arg) | ||
| 21 | { | ||
| 22 | _access_secret = _arg; | ||
| 23 | } | ||
| 24 | |||
| 25 | std::string auth::getConsumerKey() const | ||
| 26 | { | ||
| 27 | return _consumer_key; | ||
| 28 | } | ||
| 29 | |||
| 30 | std::string auth::getConsumerSecret() const | ||
| 31 | { | ||
| 32 | return _consumer_secret; | ||
| 33 | } | ||
| 34 | |||
| 35 | std::string auth::getAccessKey() const | ||
| 36 | { | ||
| 37 | return _access_key; | ||
| 38 | } | ||
| 39 | |||
| 40 | std::string auth::getAccessSecret() const | ||
| 41 | { | ||
| 42 | return _access_secret; | ||
| 43 | } | ||
| 44 | |||
| 45 | }; | ||
