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/AimOscar/src/proto.cpp | 6 +++--- protocols/AimOscar/src/proto.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'protocols/AimOscar') diff --git a/protocols/AimOscar/src/proto.cpp b/protocols/AimOscar/src/proto.cpp index ec60663c33..db4fab68ce 100644 --- a/protocols/AimOscar/src/proto.cpp +++ b/protocols/AimOscar/src/proto.cpp @@ -130,7 +130,7 @@ MCONTACT CAimProto::AddToList(int flags, PROTOSEARCHRESULT* psr) return hContact; //See authrequest for serverside addition } -MCONTACT __cdecl CAimProto::AddToListByEvent(int flags, int iContact, HANDLE hDbEvent) +MCONTACT __cdecl CAimProto::AddToListByEvent(int flags, int iContact, MEVENT hDbEvent) { return NULL; } @@ -138,7 +138,7 @@ MCONTACT __cdecl CAimProto::AddToListByEvent(int flags, int iContact, HANDLE hDb //////////////////////////////////////////////////////////////////////////////////////// // AuthAllow - processes the successful authorization -int CAimProto::Authorize(HANDLE hDbEvent) +int CAimProto::Authorize(MEVENT hDbEvent) { return 0; } @@ -146,7 +146,7 @@ int CAimProto::Authorize(HANDLE hDbEvent) //////////////////////////////////////////////////////////////////////////////////////// // AuthDeny - handles the unsuccessful authorization -int CAimProto::AuthDeny(HANDLE hDbEvent, const TCHAR* szReason) +int CAimProto::AuthDeny(MEVENT hDbEvent, const TCHAR* szReason) { return 0; } diff --git a/protocols/AimOscar/src/proto.h b/protocols/AimOscar/src/proto.h index 4382514b16..6635cc7a74 100644 --- a/protocols/AimOscar/src/proto.h +++ b/protocols/AimOscar/src/proto.h @@ -29,10 +29,10 @@ struct CAimProto : 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