aboutsummaryrefslogtreecommitdiff
path: root/backends/events/linuxmotosdl
diff options
context:
space:
mode:
authorAlejandro Marzini2010-07-03 00:13:45 +0000
committerAlejandro Marzini2010-07-03 00:13:45 +0000
commitfda9416cc8b64fa7371b7a9989def9cc318efc7e (patch)
tree2cdb4c6714e0cb8bbcd6ea03c5b467b6ade50e4b /backends/events/linuxmotosdl
parentf9c3a4547cbf1b1942402d618fa403a7fb1cb656 (diff)
downloadscummvm-rg350-fda9416cc8b64fa7371b7a9989def9cc318efc7e.tar.gz
scummvm-rg350-fda9416cc8b64fa7371b7a9989def9cc318efc7e.tar.bz2
scummvm-rg350-fda9416cc8b64fa7371b7a9989def9cc318efc7e.zip
Cleanup and documentation.
svn-id: r50609
Diffstat (limited to 'backends/events/linuxmotosdl')
-rw-r--r--backends/events/linuxmotosdl/linuxmotosdl-events.cpp4
-rw-r--r--backends/events/linuxmotosdl/linuxmotosdl-events.h4
2 files changed, 3 insertions, 5 deletions
diff --git a/backends/events/linuxmotosdl/linuxmotosdl-events.cpp b/backends/events/linuxmotosdl/linuxmotosdl-events.cpp
index 62667422bf..1313007158 100644
--- a/backends/events/linuxmotosdl/linuxmotosdl-events.cpp
+++ b/backends/events/linuxmotosdl/linuxmotosdl-events.cpp
@@ -38,10 +38,6 @@ LinuxmotoSdlEventManager::LinuxmotoSdlEventManager(Common::EventSource *boss)
}
-LinuxmotoSdlEventManager::~LinuxmotoSdlEventManager() {
-
-}
-
void LinuxmotoSdlEventManager::preprocessEvents(SDL_Event *event) {
if (event->type == SDL_ACTIVEEVENT) {
if (event->active.state == SDL_APPINPUTFOCUS && !event->active.gain) {
diff --git a/backends/events/linuxmotosdl/linuxmotosdl-events.h b/backends/events/linuxmotosdl/linuxmotosdl-events.h
index d7ad715adb..414db080ed 100644
--- a/backends/events/linuxmotosdl/linuxmotosdl-events.h
+++ b/backends/events/linuxmotosdl/linuxmotosdl-events.h
@@ -28,10 +28,12 @@
#include "backends/events/sdl/sdl-events.h"
+/**
+ * SDL events manager for LINUXMOTO
+ */
class LinuxmotoSdlEventManager : public SdlEventManager {
public:
LinuxmotoSdlEventManager(Common::EventSource *boss);
- virtual ~LinuxmotoSdlEventManager();
protected:
virtual void preprocessEvents(SDL_Event *event);