From 9834746e6a7e5cf04a32273155265bc3a2f57180 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/Ping/src/ping.cpp | 4 ++-- plugins/Ping/src/pingthread.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Ping/src') diff --git a/plugins/Ping/src/ping.cpp b/plugins/Ping/src/ping.cpp index 7688afb496..7dd24e6a26 100644 --- a/plugins/Ping/src/ping.cpp +++ b/plugins/Ping/src/ping.cpp @@ -138,8 +138,8 @@ extern "C" __declspec(dllexport) int Load(void) LoadOptions(); - SkinAddNewSoundEx("PingTimeout", LPGEN("Ping"), LPGEN("Timeout")); - SkinAddNewSoundEx("PingReply", LPGEN("Ping"), LPGEN("Reply")); + Skin_AddSound("PingTimeout", LPGENW("Ping"), LPGENW("Timeout")); + Skin_AddSound("PingReply", LPGENW("Ping"), LPGENW("Reply")); HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded); diff --git a/plugins/Ping/src/pingthread.cpp b/plugins/Ping/src/pingthread.cpp index c3d215329d..06c5b8963e 100644 --- a/plugins/Ping/src/pingthread.cpp +++ b/plugins/Ping/src/pingthread.cpp @@ -218,8 +218,8 @@ void __cdecl sttCheckStatusThreadProc(void*) } } - if (timeout) SkinPlaySound("PingTimeout"); - if (reply) SkinPlaySound("PingReply"); + if (timeout) Skin_PlaySound("PingTimeout"); + if (reply) Skin_PlaySound("PingReply"); if (!get_list_changed()) { upCount = count; -- cgit v1.2.3