summaryrefslogtreecommitdiff
path: root/src/input/inputmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-04 15:50:56 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-04 15:50:56 +0300
commitd0adcf0e3c8a1db5e06bbbb8ae950ea5ebeeb8eb (patch)
tree33e51821fd54d88d46df4e328f60ba148971ca55 /src/input/inputmanager.h
parent39cec87cfa8b1605239f4b06388bbb07f2a16a89 (diff)
downloadmv-d0adcf0e3c8a1db5e06bbbb8ae950ea5ebeeb8eb.tar.gz
mv-d0adcf0e3c8a1db5e06bbbb8ae950ea5ebeeb8eb.tar.bz2
mv-d0adcf0e3c8a1db5e06bbbb8ae950ea5ebeeb8eb.tar.xz
mv-d0adcf0e3c8a1db5e06bbbb8ae950ea5ebeeb8eb.zip
Add stringmap typedefs.
Diffstat (limited to 'src/input/inputmanager.h')
-rw-r--r--src/input/inputmanager.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/input/inputmanager.h b/src/input/inputmanager.h
index cb483e684..6205f2d11 100644
--- a/src/input/inputmanager.h
+++ b/src/input/inputmanager.h
@@ -26,6 +26,8 @@
#include "events/inputevent.h"
+#include "utils/stringmap.h"
+
#include <list>
#include <string>
#include <map>
@@ -142,8 +144,8 @@ class InputManager final
int mMask;
- std::map<std::string, int> mNameMap;
- std::map<std::string, int> mChatMap;
+ StringIntMap mNameMap;
+ StringIntMap mChatMap;
InputFunction mKey[InputAction::TOTAL];
};