diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-21 17:44:50 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-21 17:44:50 +0300 |
commit | 36efd5151e53f6ebae280ca9992a1fa824086aef (patch) | |
tree | 14dd51fb67c9c7d929824ad5ae55af7178a5b00d /include | |
parent | 4f38af21d106fe759a31c2fe360ce9170119ad66 (diff) |
added ability to mark contacts as read-only
Diffstat (limited to 'include')
-rw-r--r-- | include/m_contacts.h | 6 |
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
|