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/MRA/src/MraProto.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/MRA/src/MraProto.cpp') diff --git a/protocols/MRA/src/MraProto.cpp b/protocols/MRA/src/MraProto.cpp index c7af6e4b1e..df1ae3e97d 100644 --- a/protocols/MRA/src/MraProto.cpp +++ b/protocols/MRA/src/MraProto.cpp @@ -161,7 +161,7 @@ MCONTACT CMraProto::AddToList(int flags, PROTOSEARCHRESULT *psr) return AddToListByEmail(psr->email, psr->nick, psr->firstName, psr->lastName, flags); } -MCONTACT CMraProto::AddToListByEvent(int, int, HANDLE hDbEvent) +MCONTACT CMraProto::AddToListByEvent(int, int, MEVENT hDbEvent) { DBEVENTINFO dbei = { 0 }; dbei.cbSize = sizeof(dbei); @@ -191,7 +191,7 @@ int CMraProto::SendUrl(MCONTACT, int, const char*) { return 1; } ///////////////////////////////////////////////////////////////////////////////////////// -int CMraProto::Authorize(HANDLE hDBEvent) +int CMraProto::Authorize(MEVENT hDBEvent) { if (!m_bLoggedIn) return 1; @@ -211,7 +211,7 @@ int CMraProto::Authorize(HANDLE hDBEvent) return 0; } -int CMraProto::AuthDeny(HANDLE hDBEvent, const TCHAR* szReason) +int CMraProto::AuthDeny(MEVENT hDBEvent, const TCHAR* szReason) { if (!m_bLoggedIn) return 1; -- cgit v1.2.3