From e190a7fde521bd6af9ea485cc730f854aaf38e11 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 10 Feb 2014 10:50:41 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@8080 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/stubs.cpp | 2 +- protocols/WhatsApp/src/proto.cpp | 2 +- protocols/WhatsApp/src/proto.h | 6 ++---- 3 files changed, 4 insertions(+), 6 deletions(-) (limited to 'protocols') diff --git a/protocols/FacebookRM/src/stubs.cpp b/protocols/FacebookRM/src/stubs.cpp index 34412fe8b3..eb086a2fa8 100644 --- a/protocols/FacebookRM/src/stubs.cpp +++ b/protocols/FacebookRM/src/stubs.cpp @@ -22,7 +22,7 @@ along with this program. If not, see . #include "common.h" -HANDLE FacebookProto::AddToListByEvent(int flags,int iContact,HANDLE hDbEvent) +HCONTACT FacebookProto::AddToListByEvent(int flags,int iContact,HANDLE hDbEvent) { return NULL; } diff --git a/protocols/WhatsApp/src/proto.cpp b/protocols/WhatsApp/src/proto.cpp index c7239ee4e2..fc83768621 100644 --- a/protocols/WhatsApp/src/proto.cpp +++ b/protocols/WhatsApp/src/proto.cpp @@ -134,7 +134,7 @@ int WhatsAppProto::SetStatus( int new_status ) return 0; } -HANDLE WhatsAppProto::AddToList( int flags, PROTOSEARCHRESULT* psr ) +HCONTACT WhatsAppProto::AddToList(int flags, PROTOSEARCHRESULT* psr) { return NULL; } diff --git a/protocols/WhatsApp/src/proto.h b/protocols/WhatsApp/src/proto.h index 80e954d71a..5b1862464a 100644 --- a/protocols/WhatsApp/src/proto.h +++ b/protocols/WhatsApp/src/proto.h @@ -32,8 +32,8 @@ public: //PROTO_INTERFACE - virtual HANDLE __cdecl AddToList( int flags, PROTOSEARCHRESULT* psr ); - virtual HANDLE __cdecl AddToListByEvent( int flags, int iContact, HANDLE hDbEvent ) { return NULL; } + virtual HCONTACT __cdecl AddToList(int flags, PROTOSEARCHRESULT* psr); + virtual HCONTACT __cdecl AddToListByEvent(int flags, int iContact, HANDLE hDbEvent) { return NULL; } virtual int __cdecl Authorize( HANDLE hDbEvent ); virtual int __cdecl AuthDeny( HANDLE hDbEvent, const PROTOCHAR* szReason ) { return 1; } @@ -207,8 +207,6 @@ public: // Information providing void NotifyEvent(TCHAR* title, TCHAR* info, HCONTACT contact, DWORD flags, TCHAR* url = NULL); void NotifyEvent(const string& title, const string& info, HCONTACT contact, DWORD flags, TCHAR* url = NULL); - - }; #endif \ No newline at end of file -- cgit v1.2.3