summaryrefslogtreecommitdiff
path: root/src/gui/sdlinput.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-30 01:19:46 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-30 13:11:34 +0300
commit6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (patch)
tree4a0a5fd220828b92ef96446fe38dbe67ff446c6c /src/gui/sdlinput.h
parent2a70a50c785ce639b76141a3a6887836d22fe12c (diff)
downloadplus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.gz
plus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.bz2
plus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.xz
plus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.zip
Add unused warnings to some files.
Diffstat (limited to 'src/gui/sdlinput.h')
-rw-r--r--src/gui/sdlinput.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/sdlinput.h b/src/gui/sdlinput.h
index cb9e50f30..c3b0d14e7 100644
--- a/src/gui/sdlinput.h
+++ b/src/gui/sdlinput.h
@@ -155,18 +155,18 @@ public:
virtual void _pollInput()
{ }
- virtual KeyInput dequeueKeyInput2();
+ virtual KeyInput dequeueKeyInput2() A_WARN_UNUSED;
- virtual gcn::KeyInput dequeueKeyInput()
+ virtual gcn::KeyInput dequeueKeyInput() A_WARN_UNUSED
{ return gcn::KeyInput(); }
// Inherited from Input
- virtual bool isKeyQueueEmpty();
+ virtual bool isKeyQueueEmpty() A_WARN_UNUSED;
- virtual bool isMouseQueueEmpty();
+ virtual bool isMouseQueueEmpty() A_WARN_UNUSED;
- virtual gcn::MouseInput dequeueMouseInput();
+ virtual gcn::MouseInput dequeueMouseInput() A_WARN_UNUSED;
protected:
/**
@@ -176,7 +176,7 @@ protected:
* @param button an SDL mouse button.
* @return a Guichan mouse button.
*/
- static int convertMouseButton(const int button);
+ static int convertMouseButton(const int button) A_WARN_UNUSED;
/**
* Converts an SDL event key to a key value.
@@ -185,7 +185,7 @@ protected:
* @return a key value.
* @see Key
*/
- static int convertKeyCharacter(const SDL_Event &event);
+ static int convertKeyCharacter(const SDL_Event &event) A_WARN_UNUSED;
std::queue<KeyInput> mKeyInputQueue;
std::queue<gcn::MouseInput> mMouseInputQueue;