diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-31 00:19:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-31 00:19:18 +0300 |
commit | 694e07d193e7c5758a7d672b45668651b034003d (patch) | |
tree | 20a4aec8dee2b3b5475db9f3667e797fb43c603b /src/listeners | |
parent | c9a84749b3b71d4df6cc3b9b488d60dc4a013a20 (diff) | |
download | plus-694e07d193e7c5758a7d672b45668651b034003d.tar.gz plus-694e07d193e7c5758a7d672b45668651b034003d.tar.bz2 plus-694e07d193e7c5758a7d672b45668651b034003d.tar.xz plus-694e07d193e7c5758a7d672b45668651b034003d.zip |
Convert InputAction enum into strong typed enum.
Diffstat (limited to 'src/listeners')
-rw-r--r-- | src/listeners/inputactionreplaylistener.cpp | 2 | ||||
-rw-r--r-- | src/listeners/inputactionreplaylistener.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/listeners/inputactionreplaylistener.cpp b/src/listeners/inputactionreplaylistener.cpp index 11f81ee0f..130b5fa7d 100644 --- a/src/listeners/inputactionreplaylistener.cpp +++ b/src/listeners/inputactionreplaylistener.cpp @@ -37,7 +37,7 @@ InputActionReplayListener::InputActionReplayListener() : void InputActionReplayListener::openDialog(const std::string &caption, const std::string &text, - const InputAction::Type action0) + const InputActionT action0) { mDialog = new EditDialog(caption, text, "OK"); mDialog->postInit(); diff --git a/src/listeners/inputactionreplaylistener.h b/src/listeners/inputactionreplaylistener.h index d1d762639..5df084c70 100644 --- a/src/listeners/inputactionreplaylistener.h +++ b/src/listeners/inputactionreplaylistener.h @@ -43,11 +43,11 @@ class InputActionReplayListener final : public ActionListener void openDialog(const std::string &caption, const std::string &text, - const InputAction::Type action0); + const InputActionT action0); protected: EditDialog *mDialog; - InputAction::Type mAction; + InputActionT mAction; }; extern InputActionReplayListener inputActionReplayListener; |