diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-18 16:17:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-18 16:17:08 +0300 |
commit | ea28a76cfbace0ccc8d25e523b410f2dea339423 (patch) | |
tree | c5582fe4d9b26dc381ef90ed7a155ea050514243 /src/commandhandler.h | |
parent | 8fdbbe936fc0bb99b0c3d851b7a5b522514ba2b9 (diff) | |
download | plus-ea28a76cfbace0ccc8d25e523b410f2dea339423.tar.gz plus-ea28a76cfbace0ccc8d25e523b410f2dea339423.tar.bz2 plus-ea28a76cfbace0ccc8d25e523b410f2dea339423.tar.xz plus-ea28a76cfbace0ccc8d25e523b410f2dea339423.zip |
add new chat commands.
/enablehighlight - enable sound hightlight in chat tab
/disablehighlight - disable sound hightlight in chat tab
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 cd265beb5..58fe78bf5 100644 --- a/src/commandhandler.h +++ b/src/commandhandler.h @@ -61,6 +61,11 @@ class CommandHandler final void handleCommand(const std::string &command, ChatTab *const tab = localChatTab); + void invokeCommand(const std::string &type, + const std::string &args, + ChatTab *const tab, + const bool warn = false); + void handleCommands(const std::string &command, ChatTab *const tab = localChatTab); |