From 03bfe2db420e0b219451590e14bb34c03c71f03c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 28 Feb 2013 21:37:19 +0300 Subject: improve some other files. --- src/keyboardconfig.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/keyboardconfig.h') diff --git a/src/keyboardconfig.h b/src/keyboardconfig.h index 26b080fc4..cbadbbd33 100644 --- a/src/keyboardconfig.h +++ b/src/keyboardconfig.h @@ -71,10 +71,10 @@ class KeyboardConfig final */ void refreshActiveKeys(); - std::string getKeyShortString(const std::string &key) - const A_WARN_UNUSED; + static std::string getKeyShortString(const std::string &key) + A_WARN_UNUSED; - SDLKey getKeyFromEvent(const SDL_Event &event) const A_WARN_UNUSED; + static SDLKey getKeyFromEvent(const SDL_Event &event) A_WARN_UNUSED; int getKeyValueFromEvent(const SDL_Event &event) const A_WARN_UNUSED; @@ -82,7 +82,7 @@ class KeyboardConfig final KeysVector *getActionVectorByKey(const int i) A_WARN_UNUSED; - std::string getKeyName(const int key) const A_WARN_UNUSED; + static std::string getKeyName(const int key)A_WARN_UNUSED; bool isActionActive(const int index) const A_WARN_UNUSED; -- cgit v1.2.3-70-g09d2