diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-18 21:33:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-18 21:33:21 +0300 |
commit | 25907c03212110f10c910b0ef90a416dff450ca7 (patch) | |
tree | fa409f004887619041e19f06f289d5ecb1c89e59 /src/net/ea/gui/guildtab.h | |
parent | 772daf48072915d598014c25a33ff3dc96e43bce (diff) | |
download | manaplus-25907c03212110f10c910b0ef90a416dff450ca7.tar.gz manaplus-25907c03212110f10c910b0ef90a416dff450ca7.tar.bz2 manaplus-25907c03212110f10c910b0ef90a416dff450ca7.tar.xz manaplus-25907c03212110f10c910b0ef90a416dff450ca7.zip |
Add option to show/hide guild online messages.
Disabled by default.
Diffstat (limited to 'src/net/ea/gui/guildtab.h')
-rw-r--r-- | src/net/ea/gui/guildtab.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/ea/gui/guildtab.h b/src/net/ea/gui/guildtab.h index 020c6d7c9..d7b48f09f 100644 --- a/src/net/ea/gui/guildtab.h +++ b/src/net/ea/gui/guildtab.h @@ -31,7 +31,7 @@ namespace Ea /** * A tab for a guild chat channel. */ -class GuildTab : public ChatTab +class GuildTab : public ChatTab, public ConfigListener { public: GuildTab(const Widget2 *const widget); @@ -52,6 +52,8 @@ class GuildTab : public ChatTab void playNewMessageSound() override; + void optionChanged(const std::string &value) override; + protected: void handleInput(const std::string &msg) override; |