Files
        @ 4717bd007185
    
        
              Branch filter: 
        
    Location: libtransport.git/backends/twitter/Requests/HelpMessageRequest.h - annotation
        
            
            4717bd007185
            624 B
            text/plain
        
        
    
    Send unavailable presence when server goes down. Use LOG4CXX macros in irc backend
    | a2b385e88f06 a2b385e88f06 a2b385e88f06 b3f59f9bb668 a2b385e88f06 a2b385e88f06 a2b385e88f06 a2b385e88f06 6e1413bf21d3 a2b385e88f06 a2b385e88f06 a2b385e88f06 a2b385e88f06 a2b385e88f06 a2b385e88f06 a2b385e88f06 6e1413bf21d3 6e1413bf21d3 6e1413bf21d3 a2b385e88f06 6e1413bf21d3 a2b385e88f06 6e1413bf21d3 a2b385e88f06 a2b385e88f06 a2b385e88f06 a2b385e88f06 a2b385e88f06 a2b385e88f06 a2b385e88f06 | #ifndef HELPMESSAGE_H
#define HELPMESSAGE_H
#include "transport/threadpool.h"
#include "../libtwitcurl/twitcurl.h"
#include "transport/networkplugin.h"
#include "transport/logging.h"
#include <string>
#include <boost/function.hpp>
#include <iostream>
using namespace Transport;
class HelpMessageRequest : public Thread
{
	std::string user;
	std::string helpMsg;
	boost::function<void (std::string &, std::string &)> callBack;
	
	public:
	HelpMessageRequest(const std::string &_user, boost::function<void (std::string &, std::string &)> cb) {
		user = _user;
		callBack = cb;
	}
	void run();
	void finalize();
};
#endif
 |