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/keylistener.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/keylistener.hpp')
-rw-r--r-- | src/guichan/include/guichan/keylistener.hpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/guichan/include/guichan/keylistener.hpp b/src/guichan/include/guichan/keylistener.hpp index a6d6f851d..9f90a1ffc 100644 --- a/src/guichan/include/guichan/keylistener.hpp +++ b/src/guichan/include/guichan/keylistener.hpp @@ -70,7 +70,8 @@ namespace gcn /** * Destructor. */ - virtual ~KeyListener() { } + virtual ~KeyListener() + { } /** * Called if a key is pressed when the widget has keyboard focus. @@ -79,14 +80,16 @@ namespace gcn * * @param keyEvent Discribes the event. */ - virtual void keyPressed(KeyEvent& keyEvent A_UNUSED) { } + virtual void keyPressed(KeyEvent& keyEvent A_UNUSED) + { } /** * Called if a key is released when the widget has keyboard focus. * * @param keyEvent Discribes the event. */ - virtual void keyReleased(KeyEvent& keyEvent A_UNUSED) { } + virtual void keyReleased(KeyEvent& keyEvent A_UNUSED) + { } protected: /** @@ -95,7 +98,8 @@ namespace gcn * You should not be able to make an instance of KeyListener, * therefore its constructor is protected. */ - KeyListener() { } + KeyListener() + { } }; } |