You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
QnetGateway/ircddb/IRCProtocol.h

37 lines
651 B

#pragma once
#include "IRCMessageQueue.h"
class IRCDDBApp;
class IRCProtocol
{
public:
IRCProtocol() {}
void Init(IRCDDBApp *app, const std::string &callsign, const std::string &password, const std::string &channel, const std::string &versionInfo);
~IRCProtocol();
void setNetworkReady(bool state);
bool processQueues(IRCMessageQueue *recvQ, IRCMessageQueue *sendQ);
private:
void chooseNewNick();
std::vector<std::string> nicks;
std::string password;
std::string channel;
std::string name;
std::string currentNick;
std::string versionInfo;
int state;
int timer;
int pingTimer;
std::string debugChannel;
IRCDDBApp *app;
};

Powered by TurnKey Linux.