diff options
author | George Hazan <ghazan@miranda.im> | 2023-03-09 20:06:37 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-03-09 20:06:37 +0300 |
commit | 7a0e4f4a10e80063ca5d7c1b32131e9fc506ac1f (patch) | |
tree | 71906285267d9aee78c45da82308270d18512fef /include | |
parent | 6c1480116ccabd92de7544179126478f4b243353 (diff) |
ME_HISTORY_EMPTY - a hook to handle history wiping
Diffstat (limited to 'include')
-rw-r--r-- | include/m_history.h | 8 |
1 files changed, 8 insertions, 0 deletions
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__
|