diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:48:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:48:18 +0300 |
commit | 9ec9cec6b2485654bdee4a828e5a7b0708dcf4f4 (patch) | |
tree | 9c5c497ebedefbeff0d4cf57782c83d5480438bb /src/input/inputmanager.h | |
parent | 3f76d07b673de76d7c4e434bd5a214f3480927cb (diff) | |
download | manaplus-9ec9cec6b2485654bdee4a828e5a7b0708dcf4f4.tar.gz manaplus-9ec9cec6b2485654bdee4a828e5a7b0708dcf4f4.tar.bz2 manaplus-9ec9cec6b2485654bdee4a828e5a7b0708dcf4f4.tar.xz manaplus-9ec9cec6b2485654bdee4a828e5a7b0708dcf4f4.zip |
Add missing const and static into input classes.
Diffstat (limited to 'src/input/inputmanager.h')
-rw-r--r-- | src/input/inputmanager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/inputmanager.h b/src/input/inputmanager.h index ce662611a..630b52948 100644 --- a/src/input/inputmanager.h +++ b/src/input/inputmanager.h @@ -164,14 +164,14 @@ class InputManager final bool handleAssignKey(const SDL_Event &event, const int type); - void handleRepeat() const; + static void handleRepeat(); bool triggerAction(const KeysVector *const ptrs); int getKeyIndex(const int value, const int grp, const int type) const A_WARN_UNUSED; - void update() const; + static void update(); void updateConditionMask(); @@ -180,7 +180,7 @@ class InputManager final void executeAction(const int keyNum); protected: - bool isActionActive0(const int index) const A_WARN_UNUSED; + static bool isActionActive0(const int index) A_WARN_UNUSED; Setup_Input *mSetupInput; /**< Reference to setup window */ |