diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-17 00:19:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-17 00:19:10 +0300 |
commit | 4825afb0187527d7eaa0ea3d903ad716a3eb9562 (patch) | |
tree | e516623a908eb6a8a4d053bbc39a36ff81aa4141 /src/input/inputactiondata.h | |
parent | b3d17866a3c5700b52c2b0b954fce132a52c1dbf (diff) | |
download | manaplus-4825afb0187527d7eaa0ea3d903ad716a3eb9562.tar.gz manaplus-4825afb0187527d7eaa0ea3d903ad716a3eb9562.tar.bz2 manaplus-4825afb0187527d7eaa0ea3d903ad716a3eb9562.tar.xz manaplus-4825afb0187527d7eaa0ea3d903ad716a3eb9562.zip |
Convert enum InputType into strong typed.
Diffstat (limited to 'src/input/inputactiondata.h')
-rw-r--r-- | src/input/inputactiondata.h | 6 |
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; |