summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-21 17:47:56 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-21 17:47:56 +0000
commit84fb545f1ee85924b1c51971e0d69dcaa49f6fe0 (patch)
treea72df37231193c6ef1298822d2c0de0ad10a67d6 /include
parentf9ac6bc30beec86994091fa144dc3a569cd4a843 (diff)
ME_GC_HOOK_EVENT - hook for the incoming chat events
git-svn-id: http://svn.miranda-ng.org/main/trunk@8202 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-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+