From 694e07d193e7c5758a7d672b45668651b034003d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 31 May 2015 00:19:18 +0300 Subject: Convert InputAction enum into strong typed enum. --- src/listeners/inputactionreplaylistener.cpp | 2 +- src/listeners/inputactionreplaylistener.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/listeners') 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; -- cgit v1.2.3-70-g09d2