A class to parse and handle user commands.
More...
#include <commandhandler.h>
|
void | handleHelp (const std::string &args, ChatTab *tab) |
| Handle a help command.
|
|
void | handleWhere (const std::string &args, ChatTab *tab) |
| Handle a where command.
|
|
void | handleWho (const std::string &args, ChatTab *tab) |
| Handle a who command.
|
|
void | handleMsg (const std::string &args, ChatTab *tab) |
| Handle a msg command.
|
|
void | handleQuery (const std::string &args, ChatTab *tab) |
| Handle a msg tab request.
|
|
void | handleJoin (const std::string &args, ChatTab *tab) |
| Handle a join command.
|
|
void | handleListChannels (const std::string &args, ChatTab *tab) |
| Handle a listchannels command.
|
|
void | handleClear (const std::string &args, ChatTab *tab) |
| Handle a clear command.
|
|
void | handleCreateParty (const std::string &args, ChatTab *tab) |
| Handle a createparty command.
|
|
void | handleParty (const std::string &args, ChatTab *tab) |
| Handle a party command.
|
|
void | handleMe (const std::string &args, ChatTab *tab) |
| Handle a me command.
|
|
void | handleRecord (const std::string &args, ChatTab *tab) |
| Handle a record command.
|
|
void | handleToggle (const std::string &args, ChatTab *tab) |
| Handle a toggle command.
|
|
void | handlePresent (const std::string &args, ChatTab *tab) |
| Handle a present command.
|
|
void | handleIgnore (const std::string &args, ChatTab *tab) |
| Handle an ignore command.
|
|
void | handleUnignore (const std::string &args, ChatTab *tab) |
| Handle an unignore command.
|
|
void | handleAway (const std::string &args, ChatTab *tab) |
| Handle away command.
|
|
void | handleShowIp (const std::string &args, ChatTab *tab) |
|
A class to parse and handle user commands.
Definition at line 35 of file commandhandler.h.
◆ CommandHandler()
CommandHandler::CommandHandler |
( |
| ) |
|
◆ ~CommandHandler()
CommandHandler::~CommandHandler |
( |
| ) |
|
|
inline |
◆ handleAway()
void CommandHandler::handleAway |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab |
|
) |
| |
|
protected |
◆ handleClear()
void CommandHandler::handleClear |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab |
|
) |
| |
|
protected |
◆ handleCommand()
void CommandHandler::handleCommand |
( |
const std::string & |
command, |
|
|
ChatTab * |
tab = localChatTab |
|
) |
| |
◆ handleCreateParty()
void CommandHandler::handleCreateParty |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab |
|
) |
| |
|
protected |
◆ handleHelp()
void CommandHandler::handleHelp |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab |
|
) |
| |
|
protected |
◆ handleIgnore()
void CommandHandler::handleIgnore |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab |
|
) |
| |
|
protected |
◆ handleJoin()
void CommandHandler::handleJoin |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab |
|
) |
| |
|
protected |
◆ handleListChannels()
void CommandHandler::handleListChannels |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab |
|
) |
| |
|
protected |
◆ handleMe()
void CommandHandler::handleMe |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab |
|
) |
| |
|
protected |
◆ handleMsg()
void CommandHandler::handleMsg |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab |
|
) |
| |
|
protected |
◆ handleParty()
void CommandHandler::handleParty |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab |
|
) |
| |
|
protected |
◆ handlePresent()
void CommandHandler::handlePresent |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab |
|
) |
| |
|
protected |
◆ handleQuery()
void CommandHandler::handleQuery |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab |
|
) |
| |
|
protected |
◆ handleRecord()
void CommandHandler::handleRecord |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab |
|
) |
| |
|
protected |
◆ handleShowIp()
void CommandHandler::handleShowIp |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab |
|
) |
| |
|
protected |
◆ handleToggle()
void CommandHandler::handleToggle |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab |
|
) |
| |
|
protected |
◆ handleUnignore()
void CommandHandler::handleUnignore |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab |
|
) |
| |
|
protected |
◆ handleWhere()
void CommandHandler::handleWhere |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab |
|
) |
| |
|
protected |
◆ handleWho()
void CommandHandler::handleWho |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab |
|
) |
| |
|
protected |
◆ parseBoolean()
char CommandHandler::parseBoolean |
( |
const std::string & |
value | ) |
|
|
static |
◆ ChatTab
◆ WhisperTab
The documentation for this class was generated from the following files: