From 85c0b6a96f366bdf0ca334ee7cb1877fb3f2288c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 16 Jan 2015 17:49:54 +0000 Subject: MEVENT - the strict type for events, they are not HANDLE anymore git-svn-id: http://svn.miranda-ng.org/main/trunk@11866 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Dummy/src/dummy_proto.cpp | 6 +++--- protocols/Dummy/src/dummy_proto.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'protocols/Dummy') diff --git a/protocols/Dummy/src/dummy_proto.cpp b/protocols/Dummy/src/dummy_proto.cpp index 72819d962b..310c450ee1 100644 --- a/protocols/Dummy/src/dummy_proto.cpp +++ b/protocols/Dummy/src/dummy_proto.cpp @@ -138,12 +138,12 @@ int CDummyProto::AuthRequest(MCONTACT hContact,const PROTOCHAR *message) return 0; } -int CDummyProto::Authorize(HANDLE hDbEvent) +int CDummyProto::Authorize(MEVENT hDbEvent) { return 1; } -int CDummyProto::AuthDeny(HANDLE hDbEvent, const PROTOCHAR *reason) +int CDummyProto::AuthDeny(MEVENT hDbEvent, const PROTOCHAR *reason) { return 1; } @@ -153,7 +153,7 @@ int CDummyProto::UserIsTyping(MCONTACT hContact, int type) return 1; } -MCONTACT CDummyProto::AddToListByEvent(int flags,int iContact,HANDLE hDbEvent) +MCONTACT CDummyProto::AddToListByEvent(int flags, int iContact, MEVENT hDbEvent) { return NULL; } diff --git a/protocols/Dummy/src/dummy_proto.h b/protocols/Dummy/src/dummy_proto.h index 70bdcd0b19..f6c98ea969 100644 --- a/protocols/Dummy/src/dummy_proto.h +++ b/protocols/Dummy/src/dummy_proto.h @@ -27,10 +27,10 @@ struct CDummyProto : public PROTO //==================================================================================== virtual MCONTACT __cdecl AddToList(int flags, PROTOSEARCHRESULT* psr); - virtual MCONTACT __cdecl AddToListByEvent(int flags, int iContact, HANDLE hDbEvent); + virtual MCONTACT __cdecl AddToListByEvent(int flags, int iContact, MEVENT hDbEvent); - virtual int __cdecl Authorize(HANDLE hDbEvent); - virtual int __cdecl AuthDeny(HANDLE hDbEvent, const TCHAR *szReason); + virtual int __cdecl Authorize(MEVENT hDbEvent); + virtual int __cdecl AuthDeny(MEVENT hDbEvent, const TCHAR *szReason); virtual int __cdecl AuthRecv(MCONTACT hContact, PROTORECVEVENT*); virtual int __cdecl AuthRequest(MCONTACT hContact, const TCHAR *szMessage); -- cgit v1.2.3