diff options
author | George Hazan <ghazan@miranda.im> | 2017-09-11 22:27:34 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-09-12 12:43:48 +0300 |
commit | f2656f118f63643151e53694bd223018c29b4a55 (patch) | |
tree | 2733f155bb5fd9313ea08255209da75f738bcedf /protocols/MSN | |
parent | 69409021aced78b31da0c9f2def7332a4c4b973e (diff) |
old good sound services became finally functions
Diffstat (limited to 'protocols/MSN')
-rw-r--r-- | protocols/MSN/src/msn_commands.cpp | 2 | ||||
-rw-r--r-- | protocols/MSN/src/msn_mail.cpp | 2 | ||||
-rw-r--r-- | protocols/MSN/src/msn_proto.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/protocols/MSN/src/msn_commands.cpp b/protocols/MSN/src/msn_commands.cpp index f8662107a3..2f7d21d088 100644 --- a/protocols/MSN/src/msn_commands.cpp +++ b/protocols/MSN/src/msn_commands.cpp @@ -718,7 +718,7 @@ void CMsnProto::MSN_ProcessNotificationMessage(char* buf, size_t len) mir_snprintf((fullurl + sz), (_countof(fullurl) - sz), "notification_id=%s&message_id=%s",
ezxml_attr(xmlnot, "id"), ezxml_attr(xmlmsg, "id"));
- SkinPlaySound(alertsoundname);
+ Skin_PlaySound(alertsoundname);
wchar_t* alrt = mir_utf8decodeW(ezxml_txt(xmltxt));
MSN_ShowPopup(TranslateT("MSN Alert"), alrt, MSN_ALERT_POPUP | MSN_ALLOW_MSGBOX, fullurl);
diff --git a/protocols/MSN/src/msn_mail.cpp b/protocols/MSN/src/msn_mail.cpp index dd385c6070..7bc2b7fb33 100644 --- a/protocols/MSN/src/msn_mail.cpp +++ b/protocols/MSN/src/msn_mail.cpp @@ -304,7 +304,7 @@ void CMsnProto::sttNotificationMessage(char* msgBody, bool isInitial) // Disable to notify receiving hotmail
if (ShowPopup && !getByte("DisableHotmail", 0)) {
- SkinPlaySound(mailsoundname);
+ Skin_PlaySound(mailsoundname);
const char *msgurl = tFileInfo["Message-URL"];
if (msgurl) {
diff --git a/protocols/MSN/src/msn_proto.cpp b/protocols/MSN/src/msn_proto.cpp index 57e190da30..dbce865552 100644 --- a/protocols/MSN/src/msn_proto.cpp +++ b/protocols/MSN/src/msn_proto.cpp @@ -114,11 +114,11 @@ CMsnProto::CMsnProto(const char* aProtoName, const wchar_t* aUserName) : mailsoundname = (char*)mir_alloc(64);
mir_snprintf(mailsoundname, 64, "%s:Hotmail", m_szModuleName);
- SkinAddNewSoundExW(mailsoundname, m_tszUserName, LPGENW("Live Mail"));
+ Skin_AddSound(mailsoundname, m_tszUserName, LPGENW("Live Mail"));
alertsoundname = (char*)mir_alloc(64);
mir_snprintf(alertsoundname, 64, "%s:Alerts", m_szModuleName);
- SkinAddNewSoundExW(alertsoundname, m_tszUserName, LPGENW("Live Alert"));
+ Skin_AddSound(alertsoundname, m_tszUserName, LPGENW("Live Alert"));
AvatarQueue_Init();
InitCustomFolders();
|