summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/m_history.h8
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__