summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-09-27 23:43:06 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-09-27 23:43:06 +0300
commite441a31e9f912fc8e9244d16560565559b1924d2 (patch)
treee9d47703f0e56bb5745e7e4e842d14ce989fe86d /include
parent91811190c158e4ff97cc94ef93415c12ddf738ed (diff)
end of manual experiments with CList/NotOnList
Diffstat (limited to 'include')
-rw-r--r--include/m_contacts.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/m_contacts.h b/include/m_contacts.h
index 9459beccb7..524c1eca3a 100644
--- a/include/m_contacts.h
+++ b/include/m_contacts.h
@@ -88,6 +88,14 @@ EXTERN_C MIR_APP_DLL(bool) Contact_IsHidden(MCONTACT hContact);
EXTERN_C MIR_APP_DLL(void) Contact_Hide(MCONTACT hContact, bool bHidden = true);
/////////////////////////////////////////////////////////////////////////////////////////
+// checks / adds / removes a contact from list of contacts
+// removed contacts would be physically deleted after restart
+
+EXTERN_C MIR_APP_DLL(bool) Contact_OnList(MCONTACT hContact);
+EXTERN_C MIR_APP_DLL(void) Contact_PutOnList(MCONTACT hContact);
+EXTERN_C MIR_APP_DLL(void) Contact_RemoveFromList(MCONTACT hContact);
+
+/////////////////////////////////////////////////////////////////////////////////////////
// Add contact's dialog
// passing hWnd == NULL will result in a dialog that is created modeless