From bb5aff746c50564ded61159c5ae28e6218d0a49d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 28 Jan 2016 16:04:16 +0000 Subject: another atavism removed: old stub services for clist events git-svn-id: http://svn.miranda-ng.org/main/trunk@16181 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_clist.inc | 43 ------------------------------------------- include/m_clist.h | 24 ------------------------ 2 files changed, 67 deletions(-) (limited to 'include') diff --git a/include/delphi/m_clist.inc b/include/delphi/m_clist.inc index c625bb5f02..57f0f8440d 100644 --- a/include/delphi/m_clist.inc +++ b/include/delphi/m_clist.inc @@ -125,49 +125,6 @@ const CLEF_UNICODE = 4; // set pszTooltip as unicode CLEF_PROTOCOLGLOBAL = 8; // set event globally for protocol, hContact has to // be NULL, lpszProtocol the protocol ID name to be set - { - wParam : 0 - lParam : Pointer to a TCLISTEVENT - Affect : Add's an event to the list - Notes : The service will flash TCLISTEVENT.hIcon, next to the - contact, TCLISTEVENT.hContact - - - pszService is called is called wParam=hwndContactList, - lParam=pointer to a TCLISTEVENT. - - - the TCLISTEVENT data is invalidated after this service returns - so copy anything from it if required. - - - TCLISTEVENT.pszService will also be called if the user - double clicks on the icon, at which point it will be removed - from the contact lists queue automatically. - - - TCLISTEVENT.hContact and TCLISTEVENT.hDBEvent should be unique. - } - MS_CLIST_ADDEVENT:PAnsiChar = 'CList/AddEvent'; - - { - wParam : TMCONTACT - lParam : TMEVENT - Affect : Remove an event from the contact list queue - Returns: 0 on success, [non zero] on failure - } - MS_CLIST_REMOVEEVENT:PAnsiChar = 'Clist/RemoveEvent'; - - { - wParam : TMCONTACT - lParam : iEvent - Affect : Get the details of an event in the queue, see notes - Returns: A CLISTEVENT* or NULL(0) on failure - Notes : Returns the iEvent'1st/2nd/3rd/nth elemented queried, - e.g. iEvent=0 will get the event that will be returned if the - user double clicks on that TMCONTACT - - - Use TMCONTACT=NULL, iEvent=0 for example to get the event - the user will get if they double click on the tray. - Version: v0.1.2.1+ - } - MS_CLIST_GETEVENT:PAnsiChar = 'CList/GetEvent'; { wParam : ControlID diff --git a/include/m_clist.h b/include/m_clist.h index 18b8961931..61b4f13322 100644 --- a/include/m_clist.h +++ b/include/m_clist.h @@ -201,9 +201,6 @@ typedef struct { #define MS_CLIST_INVALIDATEDISPLAYNAME "CList/InvalidateDiplayName" ///////////////////////////////////////////////////////////////////////////////////////// -// adds an event to the contact list's queue -// wParam = 0 -// lParam = (LPARAM)(CLISTEVENT*)cle // The contact list will flash hIcon next to the contact hContact (use NULL for // a system message). szServiceName will be called when the user double clicks // the icon, at which point the event will be removed from the contact list's @@ -246,27 +243,6 @@ typedef struct { #define CLEF_TCHAR 0 //will return char*, as usual #endif -#define MS_CLIST_ADDEVENT "CList/AddEvent" - -///////////////////////////////////////////////////////////////////////////////////////// -// removes an event from the contact list's queue -// wParam = (MCONTACT)hContact -// lParam = (LPARAM)(HANDLE)hDbEvent -// returns 0 if the event was successfully removed, or nonzero if the event -// was not found -#define MS_CLIST_REMOVEEVENT "Clist/RemoveEvent" - -///////////////////////////////////////////////////////////////////////////////////////// -// gets the details of an event in the queue -// wParam = (MCONTACT)hContact -// lParam = iEvent -// returns a CLISTEVENT* on success, NULL on failure -// Returns the iEvent-th event from the queue for hContact, so iEvent = 0 will -// get the event that will be got when the user clicks on that contact. -// Use hContact = INVALID_HANDLE_VALUE to search over all contacts, so iEvent = 0 -// will get the event that will be got if the user clicks the systray icon. -#define MS_CLIST_GETEVENT "CList/GetEvent" - ///////////////////////////////////////////////////////////////////////////////////////// // gets the image list with all the useful icons in it // wParam = lParam = 0 -- cgit v1.2.3