diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-15 12:59:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-15 12:59:29 +0300 |
commit | ab92ecc43d1b4d62e2ef3ac95c337dcee5f5fcc6 (patch) | |
tree | 1fc12b7dbe75471b4262483c36c13cc89f45facf /src/net | |
parent | 324a3df386950a6f262f2382caa33177f085c03f (diff) | |
download | manaverse-ab92ecc43d1b4d62e2ef3ac95c337dcee5f5fcc6.tar.gz manaverse-ab92ecc43d1b4d62e2ef3ac95c337dcee5f5fcc6.tar.bz2 manaverse-ab92ecc43d1b4d62e2ef3ac95c337dcee5f5fcc6.tar.xz manaverse-ab92ecc43d1b4d62e2ef3ac95c337dcee5f5fcc6.zip |
Move chat tab types into separate file.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/gui/guildtab.h | 3 | ||||
-rw-r--r-- | src/net/ea/gui/partytab.h | 3 |
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; |