summaryrefslogtreecommitdiff
path: root/src/gui/widgets/guildchattab.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-18 21:33:21 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-18 21:33:21 +0300
commit25907c03212110f10c910b0ef90a416dff450ca7 (patch)
treefa409f004887619041e19f06f289d5ecb1c89e59 /src/gui/widgets/guildchattab.h
parent772daf48072915d598014c25a33ff3dc96e43bce (diff)
downloadmv-25907c03212110f10c910b0ef90a416dff450ca7.tar.gz
mv-25907c03212110f10c910b0ef90a416dff450ca7.tar.bz2
mv-25907c03212110f10c910b0ef90a416dff450ca7.tar.xz
mv-25907c03212110f10c910b0ef90a416dff450ca7.zip
Add option to show/hide guild online messages.
Disabled by default.
Diffstat (limited to 'src/gui/widgets/guildchattab.h')
-rw-r--r--src/gui/widgets/guildchattab.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/guildchattab.h b/src/gui/widgets/guildchattab.h
index 91baf6973..c1605495d 100644
--- a/src/gui/widgets/guildchattab.h
+++ b/src/gui/widgets/guildchattab.h
@@ -28,7 +28,7 @@
/**
* A tab for a guild chat channel.
*/
-class GuildChatTab final : public ChatTab
+class GuildChatTab final : public ChatTab, public ConfigListener
{
public:
GuildChatTab(const Widget2 *const widget);
@@ -49,6 +49,8 @@ class GuildChatTab final : public ChatTab
void playNewMessageSound() override;
+ void optionChanged(const std::string &value) override;
+
protected:
void handleInput(const std::string &msg) override;