summaryrefslogtreecommitdiff
path: root/src/input/inputmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-23 13:09:30 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-23 13:09:30 +0300
commit07012a81f523b7f6bd095325ddd2675a3ce06d09 (patch)
tree839921e0f2b3143ef0f5dcdf4cfc6969e1e32154 /src/input/inputmanager.h
parent028638516b8a19edfe512309708012003e68b5c5 (diff)
downloadmanaverse-07012a81f523b7f6bd095325ddd2675a3ce06d09.tar.gz
manaverse-07012a81f523b7f6bd095325ddd2675a3ce06d09.tar.bz2
manaverse-07012a81f523b7f6bd095325ddd2675a3ce06d09.tar.xz
manaverse-07012a81f523b7f6bd095325ddd2675a3ce06d09.zip
If chat command not found, try find it in input actions.
Diffstat (limited to 'src/input/inputmanager.h')
-rw-r--r--src/input/inputmanager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/input/inputmanager.h b/src/input/inputmanager.h
index 1635bf03c..ab8f3d2f0 100644
--- a/src/input/inputmanager.h
+++ b/src/input/inputmanager.h
@@ -118,6 +118,10 @@ class InputManager final
void executeAction(const int keyNum);
+ bool executeChatCommand(const std::string &cmd,
+ const std::string &args,
+ ChatTab *const tab);
+
protected:
void resetKey(const int i);