diff options
| author | George Hazan <george.hazan@gmail.com> | 2023-12-09 20:00:47 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2023-12-09 20:00:47 +0300 |
| commit | dbc48cc0ec4df774c257d5175d62bce16e2437e3 (patch) | |
| tree | 525937d7b3e549bb75a817571dcecc0f7e32f82d /include | |
| parent | 4d29366657d2ee93db4913a5a07af0d26820c058 (diff) | |
PROTO_INTERFACE::OnContactDeleted to be able to block the contact's deletion
Diffstat (limited to 'include')
| -rw-r--r-- | include/m_protoint.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/m_protoint.h b/include/m_protoint.h index 5351bcb921..d075c1827d 100644 --- a/include/m_protoint.h +++ b/include/m_protoint.h @@ -261,7 +261,8 @@ public: virtual void OnContactAdded(MCONTACT);
// called when an account's contact is deleted
- virtual void OnContactDeleted(MCONTACT);
+ // returns true if deletion confirmed or false if not
+ virtual bool OnContactDeleted(MCONTACT);
// called when the Account Manager needs to draw short account's options
virtual MWindow OnCreateAccMgrUI(MWindow hwndParent);
|
