summaryrefslogtreecommitdiff
path: root/src/notifymanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-16 16:15:34 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-16 16:15:34 +0300
commitfe6a120ea38daaad39f6952a886c20269cfedca6 (patch)
tree4595d63a2ab9764873657182fbf2ab2b985474bf /src/notifymanager.cpp
parent6279b10249efa59b3161b014899465fe4bb08da4 (diff)
downloadManaVerse-fe6a120ea38daaad39f6952a886c20269cfedca6.tar.gz
ManaVerse-fe6a120ea38daaad39f6952a886c20269cfedca6.tar.bz2
ManaVerse-fe6a120ea38daaad39f6952a886c20269cfedca6.tar.xz
ManaVerse-fe6a120ea38daaad39f6952a886c20269cfedca6.zip
Move chatmsgtype into separate file.
Diffstat (limited to 'src/notifymanager.cpp')
-rw-r--r--src/notifymanager.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/notifymanager.cpp b/src/notifymanager.cpp
index 07a9e9a8f..a5962006c 100644
--- a/src/notifymanager.cpp
+++ b/src/notifymanager.cpp
@@ -52,9 +52,9 @@ namespace NotifyManager
static void chatLog(ChatTab *const tab, const std::string &str)
{
if (tab)
- tab->chatLog(str, BY_SERVER);
+ tab->chatLog(str, ChatMsgType::BY_SERVER);
else if (debugChatTab)
- debugChatTab->chatLog(str, BY_SERVER);
+ debugChatTab->chatLog(str, ChatMsgType::BY_SERVER);
}
void notify(const unsigned int message)
@@ -66,7 +66,7 @@ namespace NotifyManager
{
case EMPTY:
localChatTab->chatLog(gettext(info.text),
- BY_SERVER);
+ ChatMsgType::BY_SERVER);
break;
case GUILD:
@@ -110,7 +110,7 @@ namespace NotifyManager
if (info.flags == INT)
{
localChatTab->chatLog(strprintf(gettext(info.text),
- num), BY_SERVER);
+ num), ChatMsgType::BY_SERVER);
}
soundManager.playSfx(SoundDB::getSound(message));
}
@@ -125,7 +125,7 @@ namespace NotifyManager
case STRING:
{
localChatTab->chatLog(strprintf(gettext(info.text),
- str.c_str()), BY_SERVER);
+ str.c_str()), ChatMsgType::BY_SERVER);
break;
}
case GUILD_STRING: