summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/m_contacts.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/m_contacts.h b/include/m_contacts.h
index 3cea1e17d6..3435fe19e4 100644
--- a/include/m_contacts.h
+++ b/include/m_contacts.h
@@ -96,6 +96,12 @@ namespace Contact
MIR_APP_DLL(void) Hide(MCONTACT hContact, bool bHidden = true);
/////////////////////////////////////////////////////////////////////////////////////////
+ // gets / sets read-only status for a contact
+
+ MIR_APP_DLL(bool) IsReadonly(MCONTACT hContact);
+ MIR_APP_DLL(void) Readonly(MCONTACT hContact, bool bReadOnly = true);
+
+ /////////////////////////////////////////////////////////////////////////////////////////
// checks / adds / removes a contact from list of contacts
// removed contacts would be physically deleted after restart