summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/Skype/src/skype_proto.h3
-rw-r--r--protocols/Skype/src/skype_utils.cpp23
2 files changed, 0 insertions, 26 deletions
diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h
index c8b5fd95dd..ff0971c4ea 100644
--- a/protocols/Skype/src/skype_proto.h
+++ b/protocols/Skype/src/skype_proto.h
@@ -365,7 +365,6 @@ protected:
// utils
static wchar_t* ValidationReasons[];
- static void FakeAsync(void*);
void InitCustomFolders();
HANDLE m_hAvatarsFolder;
@@ -403,8 +402,6 @@ protected:
HANDLE CreateEvent(const char* szService);
- DWORD SendBroadcastAsync(HANDLE hContact, int type, int hResult, HANDLE hProcess, LPARAM lParam, size_t paramSize = 0);
-
void ForkThread(SkypeThreadFunc, void*);
HANDLE ForkThreadEx(SkypeThreadFunc, void*, UINT* threadID = NULL);
diff --git a/protocols/Skype/src/skype_utils.cpp b/protocols/Skype/src/skype_utils.cpp
index f61b2b8afe..2c354210cb 100644
--- a/protocols/Skype/src/skype_utils.cpp
+++ b/protocols/Skype/src/skype_utils.cpp
@@ -279,13 +279,6 @@ HANDLE CSkypeProto::CreateEvent(const char* szService)
return ::CreateHookableEvent(moduleName);
}
-void CSkypeProto::FakeAsync(void *param)
-{
- ::Sleep(100);
- ::CallService(MS_PROTO_BROADCASTACK, 0, (LPARAM)param);
- ::mir_free(param);
-}
-
int CSkypeProto::SendBroadcast(HANDLE hContact, int type, int result, HANDLE hProcess, LPARAM lParam)
{
return ::ProtoBroadcastAck(this->m_szModuleName, hContact, type, result, hProcess, lParam);
@@ -296,22 +289,6 @@ int CSkypeProto::SendBroadcast(int type, int result, HANDLE hProcess, LPARAM lPa
return this->SendBroadcast(NULL, type, result, hProcess, lParam);
}
-DWORD CSkypeProto::SendBroadcastAsync(HANDLE hContact, int type, int hResult, HANDLE hProcess, LPARAM lParam, size_t paramSize)
-{
- ACKDATA *ack = (ACKDATA *)::mir_calloc(sizeof(ACKDATA) + paramSize);
- ack->cbSize = sizeof(ACKDATA);
- ack->szModule = this->m_szModuleName;
- ack->hContact = hContact;
- ack->type = type;
- ack->result = hResult;
- ack->hProcess = hProcess;
- ack->lParam = lParam;
- if (paramSize)
- ::memcpy(ack+1, (void*)lParam, paramSize);
- ::mir_forkthread(&CSkypeProto::FakeAsync, ack);
- return 0;
-}
-
void CSkypeProto::ForkThread(SkypeThreadFunc pFunc, void *param)
{
UINT threadID;