blob: f0f17e092a69bdd0a21d0fb4b0b4a24e171ccc34 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#include "auth.h"
namespace twitter {
void auth::setConsumerKey(std::string _arg)
{
_consumer_key = _arg;
}
void auth::setConsumerSecret(std::string _arg)
{
_consumer_secret = _arg;
}
void auth::setAccessKey(std::string _arg)
{
_access_key = _arg;
}
void auth::setAccessSecret(std::string _arg)
{
_access_secret = _arg;
}
std::string auth::getConsumerKey() const
{
return _consumer_key;
}
std::string auth::getConsumerSecret() const
{
return _consumer_secret;
}
std::string auth::getAccessKey() const
{
return _access_key;
}
std::string auth::getAccessSecret() const
{
return _access_secret;
}
};
|