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/inputevent.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/inputevent.hpp')
-rw-r--r-- | src/guichan/include/guichan/inputevent.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/guichan/include/guichan/inputevent.hpp b/src/guichan/include/guichan/inputevent.hpp index 296f14cd2..46b2581c4 100644 --- a/src/guichan/include/guichan/inputevent.hpp +++ b/src/guichan/include/guichan/inputevent.hpp @@ -81,7 +81,7 @@ namespace gcn * @return True if shift was pressed at the same time as the key, * false otherwise. */ - bool isShiftPressed() const; + bool isShiftPressed() const A_WARN_UNUSED; /** * Checks if control is pressed. @@ -89,7 +89,7 @@ namespace gcn * @return True if control was pressed at the same time as the key, * false otherwise. */ - bool isControlPressed() const; + bool isControlPressed() const A_WARN_UNUSED; /** * Checks if alt is pressed. @@ -97,7 +97,7 @@ namespace gcn * @return True if alt was pressed at the same time as the key, * false otherwise. */ - bool isAltPressed() const; + bool isAltPressed() const A_WARN_UNUSED; /** * Checks whether meta is pressed. @@ -105,7 +105,7 @@ namespace gcn * @return True if meta was pressed at the same time as the key, * false otherwise. */ - bool isMetaPressed() const; + bool isMetaPressed() const A_WARN_UNUSED; /** * Marks the event as consumed. Input event listeners may discard @@ -126,7 +126,7 @@ namespace gcn * false otherwise. * @see consume */ - bool isConsumed() const; + bool isConsumed() const A_WARN_UNUSED; protected: /** |