diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-19 09:01:46 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-19 09:01:46 -0600 |
commit | 822690170b501397b86626e13b5a542712a1719d (patch) | |
tree | 327bd24839195d677beca694b9a8fca7b18245ca /src/commandhandler.h | |
parent | 124865b5d67c8c7b199046d19380e1e154ee99e4 (diff) | |
download | mana-822690170b501397b86626e13b5a542712a1719d.tar.gz mana-822690170b501397b86626e13b5a542712a1719d.tar.bz2 mana-822690170b501397b86626e13b5a542712a1719d.tar.xz mana-822690170b501397b86626e13b5a542712a1719d.zip |
Flesh out eAtehan party handling
Diffstat (limited to 'src/commandhandler.h')
-rw-r--r-- | src/commandhandler.h | 5 |
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. |