From 25907c03212110f10c910b0ef90a416dff450ca7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Feb 2013 21:33:21 +0300 Subject: Add option to show/hide guild online messages. Disabled by default. --- src/net/ea/gui/guildtab.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/net/ea/gui/guildtab.h') 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; -- cgit v1.2.3-60-g2f50