From 44525f461757fc859616fda16820351b07238842 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 27 Jun 2019 21:23:35 +0300 Subject: manual access to CList/Group restricted --- include/m_clist.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include') diff --git a/include/m_clist.h b/include/m_clist.h index 37751dc3fa..47a64f7c79 100644 --- a/include/m_clist.h +++ b/include/m_clist.h @@ -459,6 +459,17 @@ EXTERN_C MIR_APP_DLL(int) Clist_GroupMoveBefore(MGROUP hGroup, MGROUP hGroupBefo EXTERN_C MIR_APP_DLL(HMENU) Clist_GroupBuildMenu(void); +///////////////////////////////////////////////////////////////////////////////////////// +// gets group name for a contact +// might return NULL if a group isn't set + +EXTERN_C MIR_APP_DLL(wchar_t*) Clist_GetGroup(MCONTACT hContact); + +///////////////////////////////////////////////////////////////////////////////////////// +// sets group name for a contact + +EXTERN_C MIR_APP_DLL(void) Clist_SetGroup(MCONTACT hContact, const wchar_t *pwszName); + ///////////////////////////////////////////////////////////////////////////////////////// // end a rebuild of the contact list -- cgit v1.2.3