From 15c49e3fc4cf033fffbf79e9f68a0405d5a95d14 Mon Sep 17 00:00:00 2001 From: George Hazan <ghazan@miranda.im> Date: Thu, 26 Sep 2019 22:15:57 +0300 Subject: Clist_IsHidden / Clist_HideContact - two helpers to hide CList/Hidden variable and unify access to it --- include/m_clist.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/m_clist.h b/include/m_clist.h index 3142a497ed..c4b74e8397 100644 --- a/include/m_clist.h +++ b/include/m_clist.h @@ -488,6 +488,12 @@ EXTERN_C MIR_APP_DLL(int) Clist_ContactCompare(MCONTACT hContact1, MCONTACT hCon EXTERN_C MIR_APP_DLL(wchar_t*) Clist_GetContactDisplayName(MCONTACT hContact, int mode = 0); +///////////////////////////////////////////////////////////////////////////////////////// +// gets / sets hidden status for a contact + +EXTERN_C MIR_APP_DLL(bool) Clist_IsHidden(MCONTACT hContact); +EXTERN_C MIR_APP_DLL(void) Clist_HideContact(MCONTACT hContact, bool bHidden = true); + ///////////////////////////////////////////////////////////////////////////////////////// // DRAG-N-DROP SUPPORT ///////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3