summaryrefslogtreecommitdiff
path: root/src/guichan/include/guichan/gui.hpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-30 13:05:34 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-30 13:11:34 +0300
commit0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9 (patch)
tree077c2ff59d6656096aa0acaaf4dd6bf4fb7867f7 /src/guichan/include/guichan/gui.hpp
parent6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (diff)
downloadplus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.gz
plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.bz2
plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.xz
plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.zip
Add unused warnings to other files.
Diffstat (limited to 'src/guichan/include/guichan/gui.hpp')
-rw-r--r--src/guichan/include/guichan/gui.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/guichan/include/guichan/gui.hpp b/src/guichan/include/guichan/gui.hpp
index 782983dd4..a8bdfa6d5 100644
--- a/src/guichan/include/guichan/gui.hpp
+++ b/src/guichan/include/guichan/gui.hpp
@@ -128,7 +128,7 @@ namespace gcn
* @return The top widget. NULL if no top widget has been set.
* @since 0.1.0
*/
- virtual Widget* getTop() const;
+ virtual Widget* getTop() const A_WARN_UNUSED;
/**
* Sets the graphics object to use for drawing.
@@ -149,7 +149,7 @@ namespace gcn
* OpenLayerGraphics, OpenGLGraphics, SDLGraphics
* @since 0.1.0
*/
- virtual Graphics* getGraphics() const;
+ virtual Graphics* getGraphics() const A_WARN_UNUSED;
/**
* Sets the input object to use for input handling.
@@ -170,7 +170,7 @@ namespace gcn
* SDLInput
* @since 0.1.0
*/
- virtual Input* getInput() const;
+ virtual Input* getInput() const A_WARN_UNUSED;
/**
* Performs logic of the GUI. By calling this function all logic
@@ -384,7 +384,7 @@ namespace gcn
* @return The widget at a certain position.
* @since 0.6.0
*/
- virtual Widget* getWidgetAt(int x, int y);
+ virtual Widget* getWidgetAt(int x, int y) A_WARN_UNUSED;
/**
* Gets the source of the mouse event.
@@ -392,7 +392,7 @@ namespace gcn
* @return The source widget of the mouse event.
* @since 0.6.0
*/
- virtual Widget* getMouseEventSource(int x, int y);
+ virtual Widget* getMouseEventSource(int x, int y) A_WARN_UNUSED;
/**
* Gets the source of the key event.
@@ -400,7 +400,7 @@ namespace gcn
* @return The source widget of the key event.
* @since 0.6.0
*/
- virtual Widget* getKeyEventSource();
+ virtual Widget* getKeyEventSource() A_WARN_UNUSED;
/**
* Holds the top widget.
@@ -441,7 +441,7 @@ namespace gcn
* Holds the global key listeners of the Gui.
*/
KeyListenerList mKeyListeners;
-
+
/**
* True if shift is pressed, false otherwise.
*/