summaryrefslogtreecommitdiff
path: root/src/gui/windows/chatwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-30 01:11:50 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-30 01:11:50 +0300
commitb42cc5c01d3bdd274d9b9e90aad574d865c4e67a (patch)
treea88981f53929b4608b6110fd266aebbc311ccbcc /src/gui/windows/chatwindow.h
parent2e07a7af24cf8a2928ab6a3431ab5b01b29969bb (diff)
downloadmanaplus-b42cc5c01d3bdd274d9b9e90aad574d865c4e67a.tar.gz
manaplus-b42cc5c01d3bdd274d9b9e90aad574d865c4e67a.tar.bz2
manaplus-b42cc5c01d3bdd274d9b9e90aad574d865c4e67a.tar.xz
manaplus-b42cc5c01d3bdd274d9b9e90aad574d865c4e67a.zip
Convert ChatMsgType enum into strong typed enum.
Diffstat (limited to 'src/gui/windows/chatwindow.h')
-rw-r--r--src/gui/windows/chatwindow.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/windows/chatwindow.h b/src/gui/windows/chatwindow.h
index 76e932525..1952909d4 100644
--- a/src/gui/windows/chatwindow.h
+++ b/src/gui/windows/chatwindow.h
@@ -195,7 +195,7 @@ class ChatWindow final : public Window,
void addWhisper(const std::string &restrict nick,
const std::string &restrict mes,
- const ChatMsgType::Type own = ChatMsgType::BY_OTHER);
+ const ChatMsgTypeT own = ChatMsgType::BY_OTHER);
WhisperTab *addWhisperTab(const std::string &caption,
const std::string &nick,
@@ -223,13 +223,13 @@ class ChatWindow final : public Window,
void ignoreAllWhispers();
- bool resortChatLog(std::string line, ChatMsgType::Type own,
+ bool resortChatLog(std::string line, ChatMsgTypeT own,
const std::string &channel,
const IgnoreRecord ignoreRecord,
const TryRemoveColors tryRemoveColors);
static void battleChatLog(const std::string &line,
- ChatMsgType::Type own
+ ChatMsgTypeT own
= ChatMsgType::BY_UNKNOWN,
const IgnoreRecord ignoreRecord
= IgnoreRecord_false,
@@ -238,7 +238,7 @@ class ChatWindow final : public Window,
void channelChatLog(const std::string &channel,
const std::string &line,
- ChatMsgType::Type own,
+ ChatMsgTypeT own,
const IgnoreRecord ignoreRecord,
const TryRemoveColors tryRemoveColors);