From 501fd1fbff6afc11bb0368b82b4a8d9451bee5f3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 18 Jan 2019 21:13:56 +0300 Subject: we don't need PSR_URL as well --- include/delphi/m_protosvc.inc | 32 -------------------------------- include/m_protoint.h | 1 - include/m_protosvc.h | 9 --------- 3 files changed, 42 deletions(-) (limited to 'include') diff --git a/include/delphi/m_protosvc.inc b/include/delphi/m_protosvc.inc index 8edc1b645d..25c55dde3e 100644 --- a/include/delphi/m_protosvc.inc +++ b/include/delphi/m_protosvc.inc @@ -699,26 +699,6 @@ const this event is NOT added to the database automatically. } PSS_MESSAGE = '/SendMsg'; -// PSS_MESSAGEW = '/SendMsgW'; - - { - CCSDATA: Yes - wParam : flags - lParam : null terminated string to the URL, see notes - Affect : Send a URL message, see notes - Returns: A hProcess which will be ack'd later - Notes : lParam may contain TWO strings, the first for URL, the second for - description, in the format : - #0#0 or #0#0 - Will send an ack for hProcess when the URL actually gets sent - type=ACKTYPE_URL, result=ACKRESULT_SUCCESS/FAILURE, - lParam=ansi error message or NIL - - - protocol modules are free to define flags starting at $10000 - - - The event will *not* be added to the database automatically - } - PSS_URL = '/SendUrl'; { CCSDATA: Yes @@ -897,18 +877,6 @@ const MS_PROTO_RECVFILET = 'Proto/RecvFileT'; - { - CCSDATA: Yes - wParam : 0 - lParam : Pointer to a TPROTORECVEVENT, see notes - Affect : A URL has been received - Notes : szMessage is encoded the same as PSS_URL - - - Stored in the database : EVENTTYPE_URL, blob contains message - without null termination - } - PSR_URL = '/RecvUrl'; - { CCSDATA: Yes wParam : 0 diff --git a/include/m_protoint.h b/include/m_protoint.h index b7957f46f1..59b84ea8f5 100644 --- a/include/m_protoint.h +++ b/include/m_protoint.h @@ -203,7 +203,6 @@ public: virtual int RecvContacts(MCONTACT hContact, PROTORECVEVENT*); virtual int RecvFile(MCONTACT hContact, PROTORECVFILE*); virtual MEVENT RecvMsg(MCONTACT hContact, PROTORECVEVENT*); - virtual int RecvUrl(MCONTACT hContact, PROTORECVEVENT*); virtual int SendContacts(MCONTACT hContact, int flags, int nContacts, MCONTACT *hContactsList); virtual HANDLE SendFile(MCONTACT hContact, const wchar_t *szDescription, wchar_t **ppszFiles); diff --git a/include/m_protosvc.h b/include/m_protosvc.h index d6a44e7c85..e28e31098b 100644 --- a/include/m_protosvc.h +++ b/include/m_protosvc.h @@ -797,15 +797,6 @@ __forceinline INT_PTR ProtoChainRecvFile(MCONTACT hContact, PROTORECVFILE *pre) return Proto_ChainRecv(0, &ccs); } -/////////////////////////////////////////////////////////////////////////////// -// An URL has been received -// wParam = 0 -// lParam = (LPARAM)(PROTORECVEVENT*)&pre -// szMessage is encoded the same as for PSS_URL -// DB event: EVENTTYPE_URL, blob contains szMessage without 0 terminator - -#define PSR_URL "/RecvUrl" - /////////////////////////////////////////////////////////////////////////////// // Contacts have been received // wParam = 0 -- cgit v1.2.3