From ab92ecc43d1b4d62e2ef3ac95c337dcee5f5fcc6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 15 May 2014 12:59:29 +0300 Subject: Move chat tab types into separate file. --- src/net/ea/gui/guildtab.h | 3 ++- src/net/ea/gui/partytab.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src/net') diff --git a/src/net/ea/gui/guildtab.h b/src/net/ea/gui/guildtab.h index 931b53397..c3936f348 100644 --- a/src/net/ea/gui/guildtab.h +++ b/src/net/ea/gui/guildtab.h @@ -24,6 +24,7 @@ #define NET_EA_GUI_GUILDTAB_H #include "gui/widgets/tabs/chattab.h" +#include "gui/widgets/tabs/chattabtype.h" namespace Ea { @@ -47,7 +48,7 @@ class GuildTab : public ChatTab, void saveToLogFile(const std::string &msg) const override final; int getType() const override final A_WARN_UNUSED - { return ChatTab::TAB_GUILD; } + { return ChatTabType::GUILD; } void playNewMessageSound() const override final; diff --git a/src/net/ea/gui/partytab.h b/src/net/ea/gui/partytab.h index 6c61990dd..1a08d0954 100644 --- a/src/net/ea/gui/partytab.h +++ b/src/net/ea/gui/partytab.h @@ -24,6 +24,7 @@ #define NET_EA_GUI_PARTYTAB_H #include "gui/widgets/tabs/chattab.h" +#include "gui/widgets/tabs/chattabtype.h" namespace Ea { @@ -45,7 +46,7 @@ class PartyTab : public ChatTab, const std::string &restrict args) override final; int getType() const override final A_WARN_UNUSED - { return ChatTab::TAB_PARTY; } + { return ChatTabType::PARTY; } void saveToLogFile(const std::string &msg) const override final; -- cgit v1.2.3-60-g2f50