diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-04-20 02:21:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-20 02:21:11 +0300 |
commit | 02cc5a6d5ec50d44d3593e1557cce18c2a0c201b (patch) | |
tree | be887ebea3c9368a2a395f8368b4e58b8a6f713e | |
parent | 5d4b554617269cc34e894f98134ffa1f92dfd8ba (diff) | |
download | mv-02cc5a6d5ec50d44d3593e1557cce18c2a0c201b.tar.gz mv-02cc5a6d5ec50d44d3593e1557cce18c2a0c201b.tar.bz2 mv-02cc5a6d5ec50d44d3593e1557cce18c2a0c201b.tar.xz mv-02cc5a6d5ec50d44d3593e1557cce18c2a0c201b.zip |
Remove hardcoded attributes defines from guichan headers.
-rw-r--r-- | src/guichan/include/guichan/defaultfont.hpp | 6 | ||||
-rw-r--r-- | src/guichan/include/guichan/focuslistener.hpp | 6 | ||||
-rw-r--r-- | src/guichan/include/guichan/keylistener.hpp | 6 | ||||
-rw-r--r-- | src/guichan/include/guichan/mouselistener.hpp | 6 | ||||
-rw-r--r-- | src/guichan/include/guichan/selectionlistener.hpp | 6 | ||||
-rw-r--r-- | src/guichan/include/guichan/widget.hpp | 6 | ||||
-rw-r--r-- | src/guichan/include/guichan/widgetlistener.hpp | 6 | ||||
-rw-r--r-- | src/guichan/include/guichan/widgets/button.hpp | 6 | ||||
-rw-r--r-- | src/guichan/include/guichan/widgets/dropdown.hpp | 6 | ||||
-rw-r--r-- | src/guichan/include/guichan/widgets/tab.hpp | 6 | ||||
-rw-r--r-- | src/guichan/include/guichan/widgets/window.hpp | 6 |
11 files changed, 4 insertions, 62 deletions
diff --git a/src/guichan/include/guichan/defaultfont.hpp b/src/guichan/include/guichan/defaultfont.hpp index 1ff94fc40..7da9041d7 100644 --- a/src/guichan/include/guichan/defaultfont.hpp +++ b/src/guichan/include/guichan/defaultfont.hpp @@ -48,12 +48,6 @@ #include "guichan/font.hpp" #include "guichan/platform.hpp" -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - namespace gcn { /** diff --git a/src/guichan/include/guichan/focuslistener.hpp b/src/guichan/include/guichan/focuslistener.hpp index 3876e8518..39d82c9cb 100644 --- a/src/guichan/include/guichan/focuslistener.hpp +++ b/src/guichan/include/guichan/focuslistener.hpp @@ -50,11 +50,7 @@ #include "guichan/event.hpp" #include "guichan/platform.hpp" -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif +#include "localconsts.h" namespace gcn { diff --git a/src/guichan/include/guichan/keylistener.hpp b/src/guichan/include/guichan/keylistener.hpp index 9f90a1ffc..8a0b137e5 100644 --- a/src/guichan/include/guichan/keylistener.hpp +++ b/src/guichan/include/guichan/keylistener.hpp @@ -48,11 +48,7 @@ #include "guichan/keyevent.hpp" #include "guichan/platform.hpp" -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif +#include "localconsts.h" namespace gcn { diff --git a/src/guichan/include/guichan/mouselistener.hpp b/src/guichan/include/guichan/mouselistener.hpp index b78f529e9..1d876b233 100644 --- a/src/guichan/include/guichan/mouselistener.hpp +++ b/src/guichan/include/guichan/mouselistener.hpp @@ -48,11 +48,7 @@ #include "guichan/mouseevent.hpp" #include "guichan/platform.hpp" -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif +#include "localconsts.h" namespace gcn { diff --git a/src/guichan/include/guichan/selectionlistener.hpp b/src/guichan/include/guichan/selectionlistener.hpp index 657de0292..6415ff0a6 100644 --- a/src/guichan/include/guichan/selectionlistener.hpp +++ b/src/guichan/include/guichan/selectionlistener.hpp @@ -50,12 +50,6 @@ #include "guichan/selectionevent.hpp" #include "guichan/platform.hpp" -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - namespace gcn { /** diff --git a/src/guichan/include/guichan/widget.hpp b/src/guichan/include/guichan/widget.hpp index b6146b791..4d43b5460 100644 --- a/src/guichan/include/guichan/widget.hpp +++ b/src/guichan/include/guichan/widget.hpp @@ -52,11 +52,7 @@ #include "guichan/color.hpp" #include "guichan/rectangle.hpp" -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif +#include "localconsts.h" namespace gcn { diff --git a/src/guichan/include/guichan/widgetlistener.hpp b/src/guichan/include/guichan/widgetlistener.hpp index f0cb60fd3..6bb376bf6 100644 --- a/src/guichan/include/guichan/widgetlistener.hpp +++ b/src/guichan/include/guichan/widgetlistener.hpp @@ -50,12 +50,6 @@ #include "guichan/event.hpp" #include "guichan/platform.hpp" -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - namespace gcn { /** diff --git a/src/guichan/include/guichan/widgets/button.hpp b/src/guichan/include/guichan/widgets/button.hpp index b8a442c40..4382f3f7e 100644 --- a/src/guichan/include/guichan/widgets/button.hpp +++ b/src/guichan/include/guichan/widgets/button.hpp @@ -55,12 +55,6 @@ #include "guichan/platform.hpp" #include "guichan/widget.hpp" -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - namespace gcn { /** diff --git a/src/guichan/include/guichan/widgets/dropdown.hpp b/src/guichan/include/guichan/widgets/dropdown.hpp index 846918354..7663a265f 100644 --- a/src/guichan/include/guichan/widgets/dropdown.hpp +++ b/src/guichan/include/guichan/widgets/dropdown.hpp @@ -60,12 +60,6 @@ #include "localconsts.h" -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - namespace gcn { /** diff --git a/src/guichan/include/guichan/widgets/tab.hpp b/src/guichan/include/guichan/widgets/tab.hpp index e29decb17..0e490129f 100644 --- a/src/guichan/include/guichan/widgets/tab.hpp +++ b/src/guichan/include/guichan/widgets/tab.hpp @@ -52,12 +52,6 @@ #include "guichan/mouselistener.hpp" #include "guichan/platform.hpp" -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - namespace gcn { class Label; diff --git a/src/guichan/include/guichan/widgets/window.hpp b/src/guichan/include/guichan/widgets/window.hpp index cbe2da8e2..a9138609b 100644 --- a/src/guichan/include/guichan/widgets/window.hpp +++ b/src/guichan/include/guichan/widgets/window.hpp @@ -51,12 +51,6 @@ #include "guichan/platform.hpp" #include "guichan/widgets/container.hpp" -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - namespace gcn { /** |