SuperTweet interface driver classes.
Dependents: SuperTweet_TestProgram StarBoardOrangeExpansion1 GSL_04-Network_Twitter
Diff: SuperTweet.cpp
- Revision:
- 1:2d211e591fc8
- Parent:
- 0:d48d92e6c145
--- a/SuperTweet.cpp Tue Oct 12 22:20:38 2010 +0000 +++ b/SuperTweet.cpp Thu Oct 28 12:02:05 2010 +0000 @@ -9,15 +9,29 @@ const std::string SuperTweet::URLBASE_V1 = "http://api.supertweet.net/1/"; +/** + * Create. + * + * @param account Account name. + * @param password Password. + */ SuperTweet::SuperTweet(const std::string account, const std::string password) : account(account), password(password), client() { client.basicAuth(account.c_str(), password.c_str()); client.setTimeout(10000); } +/** + * Dispose. + */ SuperTweet::~SuperTweet() { } +/** + * Set timeout. + * + * @param ms Timeout. [ms] + */ void SuperTweet::setTimeout(int ms) { client.setTimeout(ms); }