summaryrefslogtreecommitdiff
path: root/src/commandhandler.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-19 09:01:46 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-19 09:01:46 -0600
commit822690170b501397b86626e13b5a542712a1719d (patch)
tree327bd24839195d677beca694b9a8fca7b18245ca /src/commandhandler.h
parent124865b5d67c8c7b199046d19380e1e154ee99e4 (diff)
downloadmana-client-822690170b501397b86626e13b5a542712a1719d.tar.gz
mana-client-822690170b501397b86626e13b5a542712a1719d.tar.bz2
mana-client-822690170b501397b86626e13b5a542712a1719d.tar.xz
mana-client-822690170b501397b86626e13b5a542712a1719d.zip
Flesh out eAtehan party handling
Diffstat (limited to 'src/commandhandler.h')
-rw-r--r--src/commandhandler.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/commandhandler.h b/src/commandhandler.h
index 2969d1a1..783e400d 100644
--- a/src/commandhandler.h
+++ b/src/commandhandler.h
@@ -28,6 +28,9 @@ class ChatTab;
extern ChatTab *localChatTab;
+#define BOOLEAN_OPTIONS _("Options to /%s are \"yes\", \"no\", \"true\", "\
+"\"false\", \"1\", \"0\".")
+
/**
* A class to parse and handle user commands
*/
@@ -49,6 +52,8 @@ class CommandHandler
*/
void handleCommand(const std::string &command, ChatTab *tab = localChatTab);
+ static char parseBoolean(const std::string &value);
+
private:
/**
* Handle an announce command.