From f2656f118f63643151e53694bd223018c29b4a55 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 11 Sep 2017 22:27:34 +0300 Subject: old good sound services became finally functions --- plugins/AvatarHistory/src/AvatarHistory.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/AvatarHistory') diff --git a/plugins/AvatarHistory/src/AvatarHistory.cpp b/plugins/AvatarHistory/src/AvatarHistory.cpp index 061060f306..0cc29ece82 100644 --- a/plugins/AvatarHistory/src/AvatarHistory.cpp +++ b/plugins/AvatarHistory/src/AvatarHistory.cpp @@ -127,7 +127,7 @@ static int AvatarChanged(WPARAM hContact, LPARAM lParam) db_free(&dbvOldHash); return 0; } - SkinPlaySound("avatar_removed"); + Skin_PlaySound("avatar_removed"); // Is a flash avatar or avs could not load it db_set_ws(hContact, MODULE_NAME, "AvatarHash", L"-"); @@ -142,7 +142,7 @@ static int AvatarChanged(WPARAM hContact, LPARAM lParam) db_free(&dbvOldHash); return 0; } - SkinPlaySound("avatar_changed"); + Skin_PlaySound("avatar_changed"); db_set_ws(hContact, "AvatarHistory", "AvatarHash", avatar->hash); wchar_t history_filename[MAX_PATH] = L""; @@ -343,8 +343,8 @@ extern "C" __declspec(dllexport) int Load(void) Profile_GetPathW(MAX_PATH, profilePath); - SkinAddNewSoundExW("avatar_changed", LPGENW("Avatar history"), LPGENW("Contact changed avatar")); - SkinAddNewSoundExW("avatar_removed", LPGENW("Avatar history"), LPGENW("Contact removed avatar")); + Skin_AddSound("avatar_changed", LPGENW("Avatar history"), LPGENW("Contact changed avatar")); + Skin_AddSound("avatar_removed", LPGENW("Avatar history"), LPGENW("Contact removed avatar")); hAvatarWindowsList = WindowList_Create(); -- cgit v1.2.3