diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:17:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:17:35 +0300 |
commit | 1814650ad896a0f9684d279fa5843771e767748a (patch) | |
tree | 5387bdca11a76198c7be67b7009cacd9fc31b0fb /src/net/ea/gui | |
parent | d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb (diff) | |
download | manaplus-1814650ad896a0f9684d279fa5843771e767748a.tar.gz manaplus-1814650ad896a0f9684d279fa5843771e767748a.tar.bz2 manaplus-1814650ad896a0f9684d279fa5843771e767748a.tar.xz manaplus-1814650ad896a0f9684d279fa5843771e767748a.zip |
add final keyword to net files.
Diffstat (limited to 'src/net/ea/gui')
-rw-r--r-- | src/net/ea/gui/guildtab.h | 14 | ||||
-rw-r--r-- | src/net/ea/gui/partytab.h | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/src/net/ea/gui/guildtab.h b/src/net/ea/gui/guildtab.h index 5be5c62e0..edc8ca973 100644 --- a/src/net/ea/gui/guildtab.h +++ b/src/net/ea/gui/guildtab.h @@ -41,23 +41,23 @@ class GuildTab : public ChatTab, public ConfigListener virtual ~GuildTab(); bool handleCommand(const std::string &type, - const std::string &args) override; + const std::string &args) override final; void showHelp() override; - void saveToLogFile(const std::string &msg) const override; + void saveToLogFile(const std::string &msg) const override final; - int getType() const override A_WARN_UNUSED + int getType() const override final A_WARN_UNUSED { return ChatTab::TAB_GUILD; } - void playNewMessageSound() const override; + void playNewMessageSound() const override final; - void optionChanged(const std::string &value) override; + void optionChanged(const std::string &value) override final; protected: - void handleInput(const std::string &msg) override; + void handleInput(const std::string &msg) override final; - void getAutoCompleteList(StringVect &names) const override; + void getAutoCompleteList(StringVect &names) const override final; }; } // namespace Ea diff --git a/src/net/ea/gui/partytab.h b/src/net/ea/gui/partytab.h index 07ffaa919..1ab50a1b7 100644 --- a/src/net/ea/gui/partytab.h +++ b/src/net/ea/gui/partytab.h @@ -40,24 +40,24 @@ class PartyTab : public ChatTab, public ConfigListener virtual ~PartyTab(); - void showHelp() override; + void showHelp() override final; bool handleCommand(const std::string &type, - const std::string &args) override; + const std::string &args) override final; - int getType() const override A_WARN_UNUSED + int getType() const override final A_WARN_UNUSED { return ChatTab::TAB_PARTY; } - void saveToLogFile(const std::string &msg) const override; + void saveToLogFile(const std::string &msg) const override final; - void playNewMessageSound() const override; + void playNewMessageSound() const override final; void optionChanged(const std::string &value); protected: - void handleInput(const std::string &msg) override; + void handleInput(const std::string &msg) override final; - virtual void getAutoCompleteList(StringVect&) const override; + virtual void getAutoCompleteList(StringVect&) const override final; }; extern PartyTab *partyTab; |