From ec51be4fd71babf30a73332bc4b73edb994ee462 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 May 2015 00:41:05 +0300 Subject: Convert KeyEvent enum into strong typed enum. --- src/input/keyinput.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/input/keyinput.h') diff --git a/src/input/keyinput.h b/src/input/keyinput.h index f308af244..8555d8bbb 100644 --- a/src/input/keyinput.h +++ b/src/input/keyinput.h @@ -85,12 +85,12 @@ class KeyInput final ~KeyInput() { } - void setType(KeyEventType::Type type) + void setType(KeyEventTypeT type) { mType = type; } - KeyEventType::Type getType() const + KeyEventTypeT getType() const { return mType; } @@ -136,7 +136,7 @@ class KeyInput final /** * Holds the type of the key input. */ - KeyEventType::Type mType; + KeyEventTypeT mType; #ifdef USE_SDL2 std::string mText; -- cgit v1.2.3-60-g2f50