Files
@ deaa8e8dca9b
Branch filter:
Location: libtransport.git/backends/twitter/Requests/RetweetRequest.h - annotation
deaa8e8dca9b
828 B
text/plain
Load skype buddies from database if it's possible
6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 b3f59f9bb668 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 c236c464ffac 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 c236c464ffac 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 6cc7c334f3c4 | #ifndef RETWEET_H
#define RETWEET_H
#include "transport/threadpool.h"
#include "../TwitterResponseParser.h"
#include "../libtwitcurl/twitcurl.h"
#include "transport/networkplugin.h"
#include "transport/logging.h"
#include <boost/function.hpp>
#include <string>
#include <iostream>
using namespace Transport;
class RetweetRequest : public Thread
{
twitCurl *twitObj;
std::string data;
std::string user;
std::string replyMsg;
bool success;
boost::function < void (std::string&, Error&) > callBack;
public:
RetweetRequest(twitCurl *obj, const std::string &_user, const std::string &_data,
boost::function < void (std::string &, Error&) > _cb) {
twitObj = obj->clone();
data = _data;
user = _user;
callBack = _cb;
}
~RetweetRequest() {
delete twitObj;
}
void run();
void finalize();
};
#endif
|