diff options
Diffstat (limited to 'protocols/Omegle')
-rw-r--r-- | protocols/Omegle/src/communication.cpp | 12 | ||||
-rw-r--r-- | protocols/Omegle/src/proto.cpp | 8 |
2 files changed, 10 insertions, 10 deletions
diff --git a/protocols/Omegle/src/communication.cpp b/protocols/Omegle/src/communication.cpp index 32e0d891df..8e8f69e2cf 100644 --- a/protocols/Omegle/src/communication.cpp +++ b/protocols/Omegle/src/communication.cpp @@ -555,7 +555,7 @@ bool Omegle_client::events() } else if (name == "typing" || name == "spyTyping") { // Stranger is typing, not supported by chat module yet - SkinPlaySound("StrangerTyp"); + Skin_PlaySound("StrangerTyp"); ptrW who(name == "spyTyping" ? json_as_string(json_at(item, 1)) : mir_wstrdup(L"Stranger")); Srmm_SetStatusText(parent->GetChatHandle(), @@ -564,7 +564,7 @@ bool Omegle_client::events() } else if (name == "stoppedTyping" || name == "spyStoppedTyping") { // Stranger stopped typing, not supported by chat module yet - SkinPlaySound("StrangerTypStop"); + Skin_PlaySound("StrangerTypStop"); ptrW who(name == "spyTyping" ? json_as_string(json_at(item, 1)) : mir_wstrdup(L"Stranger")); Srmm_SetStatusText(parent->GetChatHandle(), @@ -575,7 +575,7 @@ bool Omegle_client::events() Srmm_SetStatusText(parent->GetChatHandle(), nullptr); // Play sound as we received message - SkinPlaySound("StrangerMessage"); + Skin_PlaySound("StrangerMessage"); if (state_ == STATE_ACTIVE) { ptrW msg(json_as_string(json_at(item, 1))); @@ -586,7 +586,7 @@ bool Omegle_client::events() Srmm_SetStatusText(parent->GetChatHandle(), nullptr); // Play sound as we received message - SkinPlaySound("StrangerMessage"); + Skin_PlaySound("StrangerMessage"); if (state_ == STATE_SPY) { ptrW stranger(json_as_string(json_at(item, 1))); @@ -600,7 +600,7 @@ bool Omegle_client::events() // Stranger disconnected if (db_get_b(NULL, parent->m_szModuleName, OMEGLE_KEY_DONT_STOP, 0)) { - SkinPlaySound("StrangerChange"); + Skin_PlaySound("StrangerChange"); parent->NewChat(); } else @@ -618,7 +618,7 @@ bool Omegle_client::events() // Stranger disconnected if (db_get_b(NULL, parent->m_szModuleName, OMEGLE_KEY_DONT_STOP, 0)) { - SkinPlaySound("StrangerChange"); + Skin_PlaySound("StrangerChange"); parent->NewChat(); } else diff --git a/protocols/Omegle/src/proto.cpp b/protocols/Omegle/src/proto.cpp index 3eae533cda..aa46bbc601 100644 --- a/protocols/Omegle/src/proto.cpp +++ b/protocols/Omegle/src/proto.cpp @@ -57,10 +57,10 @@ PROTO<OmegleProto>(proto_name, username) facy.set_handle(m_hNetlibUser);
- SkinAddNewSoundExW("StrangerTyp", m_tszUserName, LPGENW("Stranger is typing"));
- SkinAddNewSoundExW("StrangerTypStop", m_tszUserName, LPGENW("Stranger stopped typing"));
- SkinAddNewSoundExW("StrangerChange", m_tszUserName, LPGENW("Changing stranger"));
- SkinAddNewSoundExW("StrangerMessage", m_tszUserName, LPGENW("Receive message"));
+ Skin_AddSound("StrangerTyp", m_tszUserName, LPGENW("Stranger is typing"));
+ Skin_AddSound("StrangerTypStop", m_tszUserName, LPGENW("Stranger stopped typing"));
+ Skin_AddSound("StrangerChange", m_tszUserName, LPGENW("Changing stranger"));
+ Skin_AddSound("StrangerMessage", m_tszUserName, LPGENW("Receive message"));
}
OmegleProto::~OmegleProto()
|