summaryrefslogtreecommitdiff
path: root/src/gui/sdlinput.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-28 15:46:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-28 16:41:19 +0300
commitf146cd42ce84a08879eb286ecd2ed2aa8ad82300 (patch)
treef689f832f54f361be8cff61deb47c0e32febd486 /src/gui/sdlinput.h
parent409cee51fe11e2495a2741226432666a8702dceb (diff)
downloadplus-f146cd42ce84a08879eb286ecd2ed2aa8ad82300.tar.gz
plus-f146cd42ce84a08879eb286ecd2ed2aa8ad82300.tar.bz2
plus-f146cd42ce84a08879eb286ecd2ed2aa8ad82300.tar.xz
plus-f146cd42ce84a08879eb286ecd2ed2aa8ad82300.zip
fix code style.
Diffstat (limited to 'src/gui/sdlinput.h')
-rw-r--r--src/gui/sdlinput.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/gui/sdlinput.h b/src/gui/sdlinput.h
index 29cb5ce1f..8197aa110 100644
--- a/src/gui/sdlinput.h
+++ b/src/gui/sdlinput.h
@@ -107,14 +107,6 @@ public:
*/
void pushInput(const SDL_Event &event);
- /**
- * Polls all input. It exists for input driver compatibility. If you
- * only use SDL and plan sticking with SDL you can safely ignore this
- * function as it in the SDL case does nothing.
- */
- void _pollInput()
- { }
-
KeyInput dequeueKeyInput2() A_WARN_UNUSED;
KeyInput dequeueKeyInput() A_WARN_UNUSED
@@ -122,9 +114,9 @@ public:
// Inherited from SDLInput
- bool isKeyQueueEmpty() A_WARN_UNUSED;
+ bool isKeyQueueEmpty() const A_WARN_UNUSED;
- bool isMouseQueueEmpty() A_WARN_UNUSED;
+ bool isMouseQueueEmpty() const A_WARN_UNUSED;
MouseInput dequeueMouseInput() A_WARN_UNUSED;