summaryrefslogtreecommitdiff
path: root/src/input/inputmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-23 13:19:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-23 13:19:37 +0300
commit5251869d3507c8c3dc5fd4c824a06987fd6437e2 (patch)
tree2d60fdf3ddebfe1ee0f55b132f81be7820798f29 /src/input/inputmanager.h
parent07012a81f523b7f6bd095325ddd2675a3ce06d09 (diff)
downloadmanaverse-5251869d3507c8c3dc5fd4c824a06987fd6437e2.tar.gz
manaverse-5251869d3507c8c3dc5fd4c824a06987fd6437e2.tar.bz2
manaverse-5251869d3507c8c3dc5fd4c824a06987fd6437e2.tar.xz
manaverse-5251869d3507c8c3dc5fd4c824a06987fd6437e2.zip
Add autocomplete chat commands from actions.
Diffstat (limited to 'src/input/inputmanager.h')
-rw-r--r--src/input/inputmanager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input/inputmanager.h b/src/input/inputmanager.h
index ab8f3d2f0..6bb4e65a2 100644
--- a/src/input/inputmanager.h
+++ b/src/input/inputmanager.h
@@ -26,6 +26,7 @@
#include "events/inputevent.h"
+#include <list>
#include <string>
#include <map>
@@ -122,6 +123,8 @@ class InputManager final
const std::string &args,
ChatTab *const tab);
+ void addChatCommands(std::list<std::string> &arr);
+
protected:
void resetKey(const int i);