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 /plugins/Ping | |
parent | 69409021aced78b31da0c9f2def7332a4c4b973e (diff) |
old good sound services became finally functions
Diffstat (limited to 'plugins/Ping')
-rw-r--r-- | plugins/Ping/src/ping.cpp | 4 | ||||
-rw-r--r-- | plugins/Ping/src/pingthread.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
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;
|