summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-15 12:59:29 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-15 12:59:29 +0300
commitab92ecc43d1b4d62e2ef3ac95c337dcee5f5fcc6 (patch)
tree1fc12b7dbe75471b4262483c36c13cc89f45facf /src/net
parent324a3df386950a6f262f2382caa33177f085c03f (diff)
downloadplus-ab92ecc43d1b4d62e2ef3ac95c337dcee5f5fcc6.tar.gz
plus-ab92ecc43d1b4d62e2ef3ac95c337dcee5f5fcc6.tar.bz2
plus-ab92ecc43d1b4d62e2ef3ac95c337dcee5f5fcc6.tar.xz
plus-ab92ecc43d1b4d62e2ef3ac95c337dcee5f5fcc6.zip
Move chat tab types into separate file.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/gui/guildtab.h3
-rw-r--r--src/net/ea/gui/partytab.h3
2 files changed, 4 insertions, 2 deletions
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;