From dbc48cc0ec4df774c257d5175d62bce16e2437e3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 9 Dec 2023 20:00:47 +0300 Subject: PROTO_INTERFACE::OnContactDeleted to be able to block the contact's deletion --- include/m_protoint.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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); -- cgit v1.2.3