summaryrefslogtreecommitdiff
path: root/src/commandhandler.h
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2008-07-07 12:53:24 +0000
committerDavid Athay <ko2fan@gmail.com>2008-07-07 12:53:24 +0000
commit183bc340bd3e062a4c6df4d66cc2843582bcec94 (patch)
treedccee4776fe8b54bd93c84b89075541d1a0cbc48 /src/commandhandler.h
parent1762fcad22bca9b74900e5a5190ba9f1f863a71a (diff)
downloadmana-client-183bc340bd3e062a4c6df4d66cc2843582bcec94.tar.gz
mana-client-183bc340bd3e062a4c6df4d66cc2843582bcec94.tar.bz2
mana-client-183bc340bd3e062a4c6df4d66cc2843582bcec94.tar.xz
mana-client-183bc340bd3e062a4c6df4d66cc2843582bcec94.zip
Added help for each command based on mantis bug #359, thanks to Scraggy
Diffstat (limited to 'src/commandhandler.h')
-rw-r--r--src/commandhandler.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/commandhandler.h b/src/commandhandler.h
index c415ba4f..ef6da33d 100644
--- a/src/commandhandler.h
+++ b/src/commandhandler.h
@@ -20,7 +20,7 @@
*
* $Id$
*/
-
+
#ifndef _TMW_COMMANDHANDLER_H
#define _TMW_COMMANDHANDLER_H
@@ -36,63 +36,63 @@ class CommandHandler
* Constructor
*/
CommandHandler() {}
-
+
/**
* Destructor
*/
~CommandHandler() {}
-
+
/**
* Parse and handle the given command.
*/
void handleCommand(const std::string &command);
-
+
private:
/**
* Handle an announce command.
*/
void handleAnnounce(const std::string &args);
-
+
/**
* Handle a help command.
*/
- void handleHelp();
-
+ void handleHelp(const std::string &args);
+
/**
* Handle a where command.
*/
void handleWhere();
-
+
/**
* Handle a who command.
*/
void handleWho();
-
+
/**
* Handle a msg command.
*/
void handleMsg(const std::string &args);
-
+
/**
* Handle a channel command.
*/
void handleChannel(const std::string &args);
-
+
/**
* Handle a join command.
*/
void handleJoin(const std::string &args);
-
+
/**
* Handle a listchannels command.
*/
void handleListChannels();
-
+
/**
* Handle a listusers command.
*/
void handleListUsers();
-
+
/**
* Handle a topic command.
*/
@@ -102,7 +102,7 @@ class CommandHandler
* Handle a quit command.
*/
void handleQuit();
-
+
/**
* Handle a clear command.
*/