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/Tlen/src/tlen_svc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Tlen/src/tlen_svc.cpp') diff --git a/protocols/Tlen/src/tlen_svc.cpp b/protocols/Tlen/src/tlen_svc.cpp index 6f0c0f263c..b1e35e62b3 100644 --- a/protocols/Tlen/src/tlen_svc.cpp +++ b/protocols/Tlen/src/tlen_svc.cpp @@ -224,7 +224,7 @@ MCONTACT TlenProtocol::AddToList(int flags, PROTOSEARCHRESULT *psr) return hContact; } -MCONTACT TlenProtocol::AddToListByEvent( int flags, int iContact, HANDLE hDbEvent ) +MCONTACT TlenProtocol::AddToListByEvent(int flags, int iContact, MEVENT hDbEvent) { DBEVENTINFO dbei = { sizeof(dbei) }; if ((dbei.cbBlob = db_event_getBlobSize(hDbEvent)) == (DWORD)(-1)) @@ -262,7 +262,7 @@ MCONTACT TlenProtocol::AddToListByEvent( int flags, int iContact, HANDLE hDbEven return hContact; } -int TlenProtocol::Authorize(HANDLE hDbEvent) +int TlenProtocol::Authorize(MEVENT hDbEvent) { if (!isOnline) return 1; @@ -311,7 +311,7 @@ int TlenProtocol::Authorize(HANDLE hDbEvent) return 0; } -int TlenProtocol::AuthDeny(HANDLE hDbEvent, const PROTOCHAR* szReason) +int TlenProtocol::AuthDeny(MEVENT hDbEvent, const PROTOCHAR* szReason) { if (!isOnline) return 1; -- cgit v1.2.3