summaryrefslogtreecommitdiff
path: root/src/input/inputactiondata.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-17 00:19:10 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-17 00:19:10 +0300
commit4825afb0187527d7eaa0ea3d903ad716a3eb9562 (patch)
treee516623a908eb6a8a4d053bbc39a36ff81aa4141 /src/input/inputactiondata.h
parentb3d17866a3c5700b52c2b0b954fce132a52c1dbf (diff)
downloadmv-4825afb0187527d7eaa0ea3d903ad716a3eb9562.tar.gz
mv-4825afb0187527d7eaa0ea3d903ad716a3eb9562.tar.bz2
mv-4825afb0187527d7eaa0ea3d903ad716a3eb9562.tar.xz
mv-4825afb0187527d7eaa0ea3d903ad716a3eb9562.zip
Convert enum InputType into strong typed.
Diffstat (limited to 'src/input/inputactiondata.h')
-rw-r--r--src/input/inputactiondata.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/input/inputactiondata.h b/src/input/inputactiondata.h
index 0feb8567b..5acef08ac 100644
--- a/src/input/inputactiondata.h
+++ b/src/input/inputactiondata.h
@@ -25,15 +25,17 @@
#include "actions/actionfuncptr.h"
+#include "enums/input/inputtype.h"
+
#include "enums/simpletypes/useargs.h"
#include "enums/simpletypes/protected.h"
struct InputActionData final
{
const char *const configField;
- const int defaultType1;
+ const InputTypeT defaultType1;
const int defaultValue1;
- const int defaultType2;
+ const InputTypeT defaultType2;
const int defaultValue2;
const int grp;
const ActionFuncPtr action;