diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-30 13:05:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-30 13:11:34 +0300 |
commit | 0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9 (patch) | |
tree | 077c2ff59d6656096aa0acaaf4dd6bf4fb7867f7 /src/guichan/include/guichan/gui.hpp | |
parent | 6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (diff) | |
download | plus-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.hpp | 14 |
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. */ |