From 11ab7716e9d48c7505fbcf4fe1deba33b494cdc1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 1 Sep 2016 12:48:54 +0000 Subject: - MS_CLIST_SETHIDEOFFLINE replaced with pcli->pfnSetHideOffline(); - MS_CLIST_TOGGLEHIDEOFFLINE added to cover the only case with service call; git-svn-id: http://svn.miranda-ng.org/main/trunk@17237 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_clist.h | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'include') diff --git a/include/m_clist.h b/include/m_clist.h index 8b54c0c4b0..182682b359 100644 --- a/include/m_clist.h +++ b/include/m_clist.h @@ -333,6 +333,12 @@ typedef struct { // returns new empty groups mode #define MS_CLIST_TOGGLEEMPTYGROUPS "CList/ToggleEmptyGroups" +///////////////////////////////////////////////////////////////////////////////////////// +// toggles the hidden users display mode +// wParam = lParam = 0 +// returns new hidden users mode +#define MS_CLIST_TOGGLEHIDEOFFLINE "CList/ToggleHideOffline" + ///////////////////////////////////////////////////////////////////////////////////////// // toggles the hidden users display mode // wParam = lParam = 0 @@ -440,15 +446,6 @@ EXTERN_C MIR_APP_DLL(HMENU) Clist_GroupBuildMenu(void); EXTERN_C MIR_APP_DLL(void) Clist_EndRebuild(void); -///////////////////////////////////////////////////////////////////////////////////////// -// changes the 'hide offline contacts' flag and call CLUI -// wParam = newValue -// lParam = 0 -// returns 0 on success, nonzero on failure -// newValue is 0 to show all contacts, 1 to only show online contacts -// or -1 to toggle the value -#define MS_CLIST_SETHIDEOFFLINE "CList/SetHideOffline" - ///////////////////////////////////////////////////////////////////////////////////////// // do the message processing associated with double clicking a contact // wParam = (MCONTACT)hContact -- cgit v1.2.3