From 68d3fd47bb9b75e65859d14199ffee01f16ac9a7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 10 Feb 2014 20:47:51 +0000 Subject: HCONTACT is not needed anymore git-svn-id: http://svn.miranda-ng.org/main/trunk@8086 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/stubs.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'protocols/FacebookRM/src/stubs.cpp') diff --git a/protocols/FacebookRM/src/stubs.cpp b/protocols/FacebookRM/src/stubs.cpp index eb086a2fa8..8329a78980 100644 --- a/protocols/FacebookRM/src/stubs.cpp +++ b/protocols/FacebookRM/src/stubs.cpp @@ -22,12 +22,12 @@ along with this program. If not, see . #include "common.h" -HCONTACT FacebookProto::AddToListByEvent(int flags,int iContact,HANDLE hDbEvent) +MCONTACT FacebookProto::AddToListByEvent(int flags,int iContact,HANDLE hDbEvent) { return NULL; } -int FacebookProto::AuthRecv(HCONTACT hContact,PROTORECVEVENT *) +int FacebookProto::AuthRecv(MCONTACT hContact,PROTORECVEVENT *) { return 1; } @@ -38,17 +38,17 @@ HANDLE FacebookProto::ChangeInfo(int type,void *info_data) return NULL; } -HANDLE FacebookProto::FileAllow(HCONTACT hContact,HANDLE hTransfer,const PROTOCHAR *path) +HANDLE FacebookProto::FileAllow(MCONTACT hContact,HANDLE hTransfer,const PROTOCHAR *path) { return NULL; } -int FacebookProto::FileCancel(HCONTACT hContact,HANDLE hTransfer) +int FacebookProto::FileCancel(MCONTACT hContact,HANDLE hTransfer) { return 1; } -int FacebookProto::FileDeny(HCONTACT hContact,HANDLE hTransfer,const PROTOCHAR *reason) +int FacebookProto::FileDeny(MCONTACT hContact,HANDLE hTransfer,const PROTOCHAR *reason) { return 1; } @@ -58,7 +58,7 @@ int FacebookProto::FileResume(HANDLE hTransfer,int *action,const PROTOCHAR **fil return 1; } -int FacebookProto::GetInfo(HCONTACT hContact, int infoType) +int FacebookProto::GetInfo(MCONTACT hContact, int infoType) { // TODO: Most probably some ProtoAck should be here instead return 1; @@ -74,42 +74,42 @@ HWND FacebookProto::CreateExtendedSearchUI(HWND owner) return NULL; } -int FacebookProto::RecvContacts(HCONTACT hContact,PROTORECVEVENT *) +int FacebookProto::RecvContacts(MCONTACT hContact,PROTORECVEVENT *) { return 1; } -int FacebookProto::RecvFile(HCONTACT hContact,PROTORECVFILET *) +int FacebookProto::RecvFile(MCONTACT hContact,PROTORECVFILET *) { return 1; } -int FacebookProto::RecvUrl(HCONTACT hContact,PROTORECVEVENT *) +int FacebookProto::RecvUrl(MCONTACT hContact,PROTORECVEVENT *) { return 1; } -int FacebookProto::SendContacts(HCONTACT hContact, int flags, int nContacts, HCONTACT *hContactsList) +int FacebookProto::SendContacts(MCONTACT hContact, int flags, int nContacts, MCONTACT *hContactsList) { return 1; } -HANDLE FacebookProto::SendFile(HCONTACT hContact,const PROTOCHAR *desc, PROTOCHAR **files) +HANDLE FacebookProto::SendFile(MCONTACT hContact,const PROTOCHAR *desc, PROTOCHAR **files) { return NULL; } -int FacebookProto::SendUrl(HCONTACT hContact,int flags,const char *url) +int FacebookProto::SendUrl(MCONTACT hContact,int flags,const char *url) { return 1; } -int FacebookProto::SetApparentMode(HCONTACT hContact,int mode) +int FacebookProto::SetApparentMode(MCONTACT hContact,int mode) { return 1; } -int FacebookProto::RecvAwayMsg(HCONTACT hContact,int mode,PROTORECVEVENT *evt) +int FacebookProto::RecvAwayMsg(MCONTACT hContact,int mode,PROTORECVEVENT *evt) { return 1; } -- cgit v1.2.3