summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_utils.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2012-10-03 19:00:16 +0000
committerAlexander Lantsev <aunsane@gmail.com>2012-10-03 19:00:16 +0000
commit2ae2f9c86258ee5dc89d42492c591c19acbfa4b5 (patch)
treea5033ab378b6746258de381189cc2c9a472ce452 /protocols/Skype/src/skype_utils.cpp
parentead582e080416de21ece0b29109efa8bc4c043d9 (diff)
- skype proto instance init funcs moved to skype_instances.cpp
- some minor fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@1776 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_utils.cpp')
-rw-r--r--protocols/Skype/src/skype_utils.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Skype/src/skype_utils.cpp b/protocols/Skype/src/skype_utils.cpp
index 1a16af6483..f2a9d28461 100644
--- a/protocols/Skype/src/skype_utils.cpp
+++ b/protocols/Skype/src/skype_utils.cpp
@@ -1,4 +1,9 @@
#include "skype_proto.h"
+
+int CSkypeProto::CompareProtos(const CSkypeProto *p1, const CSkypeProto *p2)
+{
+ return wcscmp(p1->m_tszUserName, p2->m_tszUserName);
+}
void CSkypeProto::CreateService(const char* szService, SkypeServiceFunc serviceProc)
{
@@ -29,11 +34,6 @@ void CSkypeProto::HookEvent(const char* szEvent, SkypeEventFunc handler)
::HookEventObj(szEvent, (MIRANDAHOOKOBJ)*( void**)&handler, this);
}
-int CSkypeProto::SendBroadcast(int type, int result, HANDLE hProcess, LPARAM lParam)
-{
- return this->SendBroadcast(NULL, type, result, hProcess, lParam);
-}
-
int CSkypeProto::SendBroadcast(HANDLE hContact, int type, int result, HANDLE hProcess, LPARAM lParam)
{
ACKDATA ack = {0};