diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-23 13:09:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-23 13:09:30 +0300 |
commit | 07012a81f523b7f6bd095325ddd2675a3ce06d09 (patch) | |
tree | 839921e0f2b3143ef0f5dcdf4cfc6969e1e32154 /src/input/inputmanager.h | |
parent | 028638516b8a19edfe512309708012003e68b5c5 (diff) | |
download | manaplus-07012a81f523b7f6bd095325ddd2675a3ce06d09.tar.gz manaplus-07012a81f523b7f6bd095325ddd2675a3ce06d09.tar.bz2 manaplus-07012a81f523b7f6bd095325ddd2675a3ce06d09.tar.xz manaplus-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.h | 4 |
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); |