From b1db27c61150e1313a537d1de009ec26bae414ab Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 31 May 2015 22:09:02 +0000 Subject: - CreateProtoServiceFunction() moved into mir_core.dll instead of inlining - all old protocols moved on it; - code cleaning; git-svn-id: http://svn.miranda-ng.org/main/trunk@13953 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tlen/src/tlen.h | 3 --- protocols/Tlen/src/tlen_svc.cpp | 17 ----------------- 2 files changed, 20 deletions(-) (limited to 'protocols/Tlen') diff --git a/protocols/Tlen/src/tlen.h b/protocols/Tlen/src/tlen.h index 1923125e1f..2207ba640f 100644 --- a/protocols/Tlen/src/tlen.h +++ b/protocols/Tlen/src/tlen.h @@ -218,8 +218,6 @@ struct TlenProtocol : public PROTO 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); virtual HANDLE __cdecl FileAllow(MCONTACT hContact, HANDLE hTransfer, const TCHAR* szPath); virtual int __cdecl FileCancel(MCONTACT hContact, HANDLE hTransfer); @@ -235,7 +233,6 @@ struct TlenProtocol : public PROTO virtual HWND __cdecl SearchAdvanced(HWND owner); virtual HWND __cdecl CreateExtendedSearchUI(HWND owner); - virtual int __cdecl RecvContacts(MCONTACT hContact, PROTORECVEVENT*); virtual int __cdecl RecvFile(MCONTACT hContact, PROTORECVFILET*); virtual int __cdecl RecvMsg(MCONTACT hContact, PROTORECVEVENT*); virtual int __cdecl RecvUrl(MCONTACT hContact, PROTORECVEVENT*); diff --git a/protocols/Tlen/src/tlen_svc.cpp b/protocols/Tlen/src/tlen_svc.cpp index 915fa2d7b5..427dec1869 100644 --- a/protocols/Tlen/src/tlen_svc.cpp +++ b/protocols/Tlen/src/tlen_svc.cpp @@ -1169,23 +1169,6 @@ int TlenProtocol::OnEvent(PROTOEVENTTYPE iEventType, WPARAM wParam, LPARAM lPara return 1; } -// PSS_ADDED -int TlenProtocol::AuthRecv(MCONTACT hContact, PROTORECVEVENT* evt) -{ - return 1; -} - -// PSS_AUTHREQUEST -int TlenProtocol::AuthRequest(MCONTACT hContact, const TCHAR* szMessage) -{ - return 1; -} - -int TlenProtocol::RecvContacts(MCONTACT hContact, PROTORECVEVENT* evt) -{ - return 1; -} - extern INT_PTR CALLBACK TlenAccMgrUIDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); INT_PTR TlenProtocol::AccMgrUI(WPARAM wParam, LPARAM lParam) -- cgit v1.2.3