diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-29 20:56:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-29 20:56:37 +0300 |
commit | c53136fce2b1cca1bb9273255ad86f0aded747c2 (patch) | |
tree | 3ba8a7e1d9e46e79cfbb784353bc567bbe8c9d68 /src/guichan/include/guichan/widgetlistener.hpp | |
parent | 5b4160a49385bc6895681c5d103a4a5716829e4b (diff) | |
download | plus-c53136fce2b1cca1bb9273255ad86f0aded747c2.tar.gz plus-c53136fce2b1cca1bb9273255ad86f0aded747c2.tar.bz2 plus-c53136fce2b1cca1bb9273255ad86f0aded747c2.tar.xz plus-c53136fce2b1cca1bb9273255ad86f0aded747c2.zip |
Fix code style in empty methods.
Diffstat (limited to 'src/guichan/include/guichan/widgetlistener.hpp')
-rw-r--r-- | src/guichan/include/guichan/widgetlistener.hpp | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/src/guichan/include/guichan/widgetlistener.hpp b/src/guichan/include/guichan/widgetlistener.hpp index 0ede5b871..f0cb60fd3 100644 --- a/src/guichan/include/guichan/widgetlistener.hpp +++ b/src/guichan/include/guichan/widgetlistener.hpp @@ -74,7 +74,8 @@ namespace gcn /** * Destructor. */ - virtual ~WidgetListener() { } + virtual ~WidgetListener() + { } /** * Invoked when a widget changes its size. @@ -82,7 +83,8 @@ namespace gcn * @param event Describes the event. * @since 0.8.0 */ - virtual void widgetResized(const Event& event A_UNUSED) { } + virtual void widgetResized(const Event& event A_UNUSED) + { } /** * Invoked when a widget is moved. @@ -90,7 +92,8 @@ namespace gcn * @param event Describes the event. * @since 0.8.0 */ - virtual void widgetMoved(const Event& event A_UNUSED) { } + virtual void widgetMoved(const Event& event A_UNUSED) + { } /** * Invoked when a widget is hidden, i.e it's set to be @@ -99,7 +102,8 @@ namespace gcn * @param event Describes the event. * @since 0.8.0 */ - virtual void widgetHidden(const Event& event A_UNUSED) { } + virtual void widgetHidden(const Event& event A_UNUSED) + { } /** * Invoked when a widget is shown, i.e it's set to be @@ -108,7 +112,8 @@ namespace gcn * @param event Describes the event. * @since 0.8.0 */ - virtual void widgetShown(const Event& event A_UNUSED) { } + virtual void widgetShown(const Event& event A_UNUSED) + { } protected: /** @@ -117,8 +122,8 @@ namespace gcn * You should not be able to make an instance of WidgetListener, * therefore its constructor is protected. */ - WidgetListener() { } - + WidgetListener() + { } }; } |