summaryrefslogtreecommitdiff
path: root/src/commandhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-18 16:17:08 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-18 16:17:08 +0300
commitea28a76cfbace0ccc8d25e523b410f2dea339423 (patch)
treec5582fe4d9b26dc381ef90ed7a155ea050514243 /src/commandhandler.h
parent8fdbbe936fc0bb99b0c3d851b7a5b522514ba2b9 (diff)
downloadmanaplus-ea28a76cfbace0ccc8d25e523b410f2dea339423.tar.gz
manaplus-ea28a76cfbace0ccc8d25e523b410f2dea339423.tar.bz2
manaplus-ea28a76cfbace0ccc8d25e523b410f2dea339423.tar.xz
manaplus-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.h5
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);