summaryrefslogtreecommitdiff
path: root/protocols/Skype
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-06-15 18:20:03 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-06-15 18:20:03 +0000
commita9fc5c1795cea571927f6ff4ceb8701ffe609ad4 (patch)
tree8f868121f0f4443f3eaaa424c6feff86835cc354 /protocols/Skype
parent85b2965c47960606d39394f33ddb1909ce5926ac (diff)
removed not used async functions
git-svn-id: http://svn.miranda-ng.org/main/trunk@4961 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype')
-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;