diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-10-08 01:00:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-10-08 01:02:48 +0300 |
commit | 29187a2582c04e3ede63f9c58f09dbbe34834a30 (patch) | |
tree | 93b77c0ad573af9c6d52a6932e76f6c223e2c8f3 /src/net/ea/gui | |
parent | af98cb5dea5644e0d95a5bf41c03655e4ab808ef (diff) | |
download | manaplus-29187a2582c04e3ede63f9c58f09dbbe34834a30.tar.gz manaplus-29187a2582c04e3ede63f9c58f09dbbe34834a30.tar.bz2 manaplus-29187a2582c04e3ede63f9c58f09dbbe34834a30.tar.xz manaplus-29187a2582c04e3ede63f9c58f09dbbe34834a30.zip |
Add checks and fix code style.
Diffstat (limited to 'src/net/ea/gui')
-rw-r--r-- | src/net/ea/gui/guildtab.h | 3 | ||||
-rw-r--r-- | src/net/ea/gui/partytab.h | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/net/ea/gui/guildtab.h b/src/net/ea/gui/guildtab.h index f4b87f8a2..2aad4a564 100644 --- a/src/net/ea/gui/guildtab.h +++ b/src/net/ea/gui/guildtab.h @@ -44,7 +44,8 @@ class GuildTab : public ChatTab void saveToLogFile(std::string &msg); - int getType() const { return ChatTab::TAB_GUILD; } + int getType() const + { return ChatTab::TAB_GUILD; } protected: void handleInput(const std::string &msg); diff --git a/src/net/ea/gui/partytab.h b/src/net/ea/gui/partytab.h index f34d51370..3a544d8db 100644 --- a/src/net/ea/gui/partytab.h +++ b/src/net/ea/gui/partytab.h @@ -35,13 +35,15 @@ class PartyTab : public ChatTab { public: PartyTab(); + ~PartyTab(); void showHelp(); bool handleCommand(const std::string &type, const std::string &args); - int getType() const { return ChatTab::TAB_PARTY; } + int getType() const + { return ChatTab::TAB_PARTY; } void saveToLogFile(std::string &msg); |