summaryrefslogtreecommitdiff
path: root/include/m_chat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_chat.h')
-rw-r--r--include/m_chat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/m_chat.h b/include/m_chat.h
index b93a9c9ed1..ae034350be 100644
--- a/include/m_chat.h
+++ b/include/m_chat.h
@@ -464,6 +464,10 @@ struct GCEVENT
#define MS_GC_EVENT "GChat/NewEvent"
+// This hook is fired when MS_GC_EVENT is called, with the same wParam and lParam as above.
+// It allows external plugins to intercept chat events and display then in other ways
+#define ME_GC_HOOK_EVENT "GChat/HookEvent"
+
#define GCEF_ADDTOLOG 0x0001
#define GCEF_REMOVECONTACT 0x0002
// Added in Miranda NG 0.94.4+