summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/FacebookRM')
-rw-r--r--protocols/FacebookRM/src/events.cpp8
-rw-r--r--protocols/FacebookRM/src/process.cpp4
-rw-r--r--protocols/FacebookRM/src/proto.cpp12
3 files changed, 12 insertions, 12 deletions
diff --git a/protocols/FacebookRM/src/events.cpp b/protocols/FacebookRM/src/events.cpp
index 13129f43f3..f46ad30d58 100644
--- a/protocols/FacebookRM/src/events.cpp
+++ b/protocols/FacebookRM/src/events.cpp
@@ -41,22 +41,22 @@ HWND FacebookProto::NotifyEvent(wchar_t* title, wchar_t* text, MCONTACT contact,
case EVENT_NOTIFICATION:
mir_snprintf(name, "%s_%s", m_szModuleName, "Notification");
- Skin_PlaySound("Notification");
+ SkinPlaySound("Notification");
break;
case EVENT_OTHER:
mir_snprintf(name, "%s_%s", m_szModuleName, "Other");
- Skin_PlaySound("OtherEvent");
+ SkinPlaySound("OtherEvent");
break;
case EVENT_FRIENDSHIP:
mir_snprintf(name, "%s_%s", m_szModuleName, "Friendship");
- Skin_PlaySound("Friendship");
+ SkinPlaySound("Friendship");
break;
case EVENT_TICKER:
mir_snprintf(name, "%s_%s", m_szModuleName, "Ticker");
- Skin_PlaySound("Ticker");
+ SkinPlaySound("Ticker");
break;
case EVENT_ON_THIS_DAY:
diff --git a/protocols/FacebookRM/src/process.cpp b/protocols/FacebookRM/src/process.cpp
index 297576d219..2a60d15060 100644
--- a/protocols/FacebookRM/src/process.cpp
+++ b/protocols/FacebookRM/src/process.cpp
@@ -695,7 +695,7 @@ void FacebookProto::ProcessMemories(void *p)
parseFeeds(html, news, new_time, true);
if (!news.empty()) {
- Skin_PlaySound("Memories");
+ SkinPlaySound("Memories");
}
numMemories = news.size();
@@ -1176,7 +1176,7 @@ void FacebookProto::ProcessFeeds(void *p)
parseFeeds(resp.data, news, new_time, filterAds);
if (!news.empty()) {
- Skin_PlaySound("NewsFeed");
+ SkinPlaySound("NewsFeed");
}
if (manuallyTriggered) {
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp
index 27be2e50d6..0490710df1 100644
--- a/protocols/FacebookRM/src/proto.cpp
+++ b/protocols/FacebookRM/src/proto.cpp
@@ -1120,12 +1120,12 @@ void FacebookProto::InitHotkeys()
*/
void FacebookProto::InitSounds()
{
- Skin_AddSound("Notification", m_tszUserName, LPGENW("Notification"));
- Skin_AddSound("NewsFeed", m_tszUserName, LPGENW("Newsfeed event"));
- Skin_AddSound("OtherEvent", m_tszUserName, LPGENW("Other event"));
- Skin_AddSound("Friendship", m_tszUserName, LPGENW("Friendship event"));
- Skin_AddSound("Ticker", m_tszUserName, LPGENW("Ticker event"));
- Skin_AddSound("Memories", m_tszUserName, LPGENW("Memories"));
+ SkinAddNewSoundExW("Notification", m_tszUserName, LPGENW("Notification"));
+ SkinAddNewSoundExW("NewsFeed", m_tszUserName, LPGENW("Newsfeed event"));
+ SkinAddNewSoundExW("OtherEvent", m_tszUserName, LPGENW("Other event"));
+ SkinAddNewSoundExW("Friendship", m_tszUserName, LPGENW("Friendship event"));
+ SkinAddNewSoundExW("Ticker", m_tszUserName, LPGENW("Ticker event"));
+ SkinAddNewSoundExW("Memories", m_tszUserName, LPGENW("Memories"));
}
/**