diff options
author | George Hazan <ghazan@miranda.im> | 2017-09-11 22:27:34 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-09-11 22:27:34 +0300 |
commit | 9834746e6a7e5cf04a32273155265bc3a2f57180 (patch) | |
tree | 66366fe9d2f74b09cc70bed366ad7d6c542c94ad /protocols/MRA/src | |
parent | 9a774c4e9e76e660c14a5f725252bbc275b13906 (diff) |
old good sound services became finally functions
Diffstat (limited to 'protocols/MRA/src')
-rw-r--r-- | protocols/MRA/src/MraConstans.h | 2 | ||||
-rw-r--r-- | protocols/MRA/src/MraProto.cpp | 2 | ||||
-rw-r--r-- | protocols/MRA/src/Mra_functions.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/protocols/MRA/src/MraConstans.h b/protocols/MRA/src/MraConstans.h index ab2eb18dc0..406f471c27 100644 --- a/protocols/MRA/src/MraConstans.h +++ b/protocols/MRA/src/MraConstans.h @@ -119,7 +119,7 @@ static const LPSTR lpcszMailRuDomains[] = #define ADV_ICON_BLOGSTATUS_ID "ADV_ICON_BLOGSTATUS"
#define ADV_ICON_BLOGSTATUS_STR LPGEN("Blog status message")
-#define MRA_SOUND_NEW_EMAIL LPGEN("New E-mail available in Inbox")
+#define MRA_SOUND_NEW_EMAIL LPGENW("New E-mail available in Inbox")
#define MAILRU_SERVER_TIME_ZONE -180 //internal // +0300
#define MAILRU_CONTACTISTYPING_TIMEOUT 10 //internal
diff --git a/protocols/MRA/src/MraProto.cpp b/protocols/MRA/src/MraProto.cpp index 4ced9192fc..ca19b6290a 100644 --- a/protocols/MRA/src/MraProto.cpp +++ b/protocols/MRA/src/MraProto.cpp @@ -47,7 +47,7 @@ CMraProto::CMraProto(const char* _module, const wchar_t* _displayName) : InitMenus();
mir_snprintf(szNewMailSound, "%s_new_email", m_szModuleName);
- SkinAddNewSoundEx(szNewMailSound, m_szModuleName, MRA_SOUND_NEW_EMAIL);
+ Skin_AddSound(szNewMailSound, m_tszUserName, MRA_SOUND_NEW_EMAIL);
HookProtoEvent(ME_CLIST_PREBUILDSTATUSMENU, &CMraProto::MraRebuildStatusMenu);
diff --git a/protocols/MRA/src/Mra_functions.cpp b/protocols/MRA/src/Mra_functions.cpp index 928efc9328..bf8dea15bb 100644 --- a/protocols/MRA/src/Mra_functions.cpp +++ b/protocols/MRA/src/Mra_functions.cpp @@ -663,7 +663,7 @@ void CMraProto::MraUpdateEmailStatus(const CMStringA &pszFrom, const CMStringA & pcli->pfnAddEvent(&cle);
}
- SkinPlaySound(szNewMailSound);
+ Skin_PlaySound(szNewMailSound);
if (hContact) {// update user info
MraUpdateContactInfo(hContact);
MraPopupShowFromContactW(hContact, MRA_POPUP_TYPE_EMAIL_STATUS, szStatusText);
|