From 7a0e4f4a10e80063ca5d7c1b32131e9fc506ac1f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 9 Mar 2023 20:06:37 +0300 Subject: ME_HISTORY_EMPTY - a hook to handle history wiping --- include/m_history.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') diff --git a/include/m_history.h b/include/m_history.h index 402e019e8b..2145f72e5b 100644 --- a/include/m_history.h +++ b/include/m_history.h @@ -41,4 +41,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define MS_HISTORY_EMPTY "History/EmptyHistory" +///////////////////////////////////////////////////////////////////////////////////////// +// Event called when someone gonna wipe contact's history +// wParam = (MCONTACT)hContact +// hContact can be NULL to wipe system history +// returns 0 if the core should wipe local history or any other value to cancel wiping + +#define ME_HISTORY_EMPTY "History/OnEmptyHistory" + #endif // M_HISTORY_H__ -- cgit v1.2.3