summaryrefslogtreecommitdiff
path: root/src/net/ea/gui/partytab.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-18 13:20:13 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-18 13:20:13 +0300
commit3c7d4f339c20bc665efa6f6666171f0ca610203b (patch)
tree7c6479877911619696fd481698987e2f83491666 /src/net/ea/gui/partytab.h
parent64b82129075e7608e94f8e27ee6c446213032cfb (diff)
downloadmv-3c7d4f339c20bc665efa6f6666171f0ca610203b.tar.gz
mv-3c7d4f339c20bc665efa6f6666171f0ca610203b.tar.bz2
mv-3c7d4f339c20bc665efa6f6666171f0ca610203b.tar.xz
mv-3c7d4f339c20bc665efa6f6666171f0ca610203b.zip
show online messages in party tab.
by default disabled.
Diffstat (limited to 'src/net/ea/gui/partytab.h')
-rw-r--r--src/net/ea/gui/partytab.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/ea/gui/partytab.h b/src/net/ea/gui/partytab.h
index 16c9e8a3f..1988df4e8 100644
--- a/src/net/ea/gui/partytab.h
+++ b/src/net/ea/gui/partytab.h
@@ -31,7 +31,7 @@ namespace Ea
/**
* A tab for a party chat channel.
*/
-class PartyTab : public ChatTab
+class PartyTab : public ChatTab, public ConfigListener
{
public:
explicit PartyTab(const Widget2 *const widget);
@@ -52,6 +52,8 @@ class PartyTab : public ChatTab
void playNewMessageSound() const override;
+ void optionChanged(const std::string &value);
+
protected:
void handleInput(const std::string &msg) override;