summaryrefslogtreecommitdiff
path: root/src/eventsmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-10 19:14:48 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-10 19:14:48 +0300
commite8f099cace1d77dd9ff12b4231871c6e122a739d (patch)
treea873108303b514b2e67191e5f04d51e3c3a53f69 /src/eventsmanager.h
parent768a7e7499a95bb3ce14600e8050bcbbaaeed31f (diff)
downloadmanaverse-e8f099cace1d77dd9ff12b4231871c6e122a739d.tar.gz
manaverse-e8f099cace1d77dd9ff12b4231871c6e122a739d.tar.bz2
manaverse-e8f099cace1d77dd9ff12b4231871c6e122a739d.tar.xz
manaverse-e8f099cace1d77dd9ff12b4231871c6e122a739d.zip
fix code style.
Diffstat (limited to 'src/eventsmanager.h')
-rw-r--r--src/eventsmanager.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/eventsmanager.h b/src/eventsmanager.h
index 690745ad6..0cf891729 100644
--- a/src/eventsmanager.h
+++ b/src/eventsmanager.h
@@ -24,7 +24,6 @@
#include "configlistener.h"
#include <string>
-#include <map>
#include <SDL_events.h>
@@ -46,14 +45,14 @@ class EventsManager final : public ConfigListener
void handleGameEvents();
#ifdef USE_SDL2
- void handleSDL2WindowEvent(const SDL_Event &event);
+ static void handleSDL2WindowEvent(const SDL_Event &event);
#else
- void handleActive(const SDL_Event &event);
+ static void handleActive(const SDL_Event &event);
#endif
void optionChanged(const std::string &name);
- void logEvent(const SDL_Event &event);
+ static void logEvent(const SDL_Event &event);
protected:
bool mLogInput;