summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-01-23 21:38:21 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-01-23 21:38:21 +0300
commit0960c4ae216d12ad03a8bff4071ff55cb0d48129 (patch)
tree16ef5867f25d63b53939823f6b1aa70ca13f6057 /include
parentffc1007914c3ffdc4cf322828907f35dd4101773 (diff)
shit fixed in chat api
Diffstat (limited to 'include')
-rw-r--r--include/m_chat.h1
-rw-r--r--include/m_chat_int.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/include/m_chat.h b/include/m_chat.h
index 7b1a0b569f..02c9dee93a 100644
--- a/include/m_chat.h
+++ b/include/m_chat.h
@@ -491,6 +491,7 @@ struct GCHOOK
GCDEST *pDest; // pointer to a GCDEST structure which specifies from which session the hook was triggered
LPTSTR ptszText; // usage depends on type of event
LPTSTR ptszUID; // unique identifier, usage depends on type of event
+ LPTSTR ptszNick; // user nick, as displayed in a nicklist
INT_PTR dwData; // user defined data, usage depends on type of event
};
diff --git a/include/m_chat_int.h b/include/m_chat_int.h
index 1b24962ae4..c2a29e3d00 100644
--- a/include/m_chat_int.h
+++ b/include/m_chat_int.h
@@ -351,8 +351,8 @@ struct CHAT_MANAGER
void (*LoadMsgDlgFont)(int i, LOGFONT *lf, COLORREF *color);
wchar_t* (*MakeTimeStamp)(wchar_t *pszStamp, time_t time);
- BOOL (*DoEventHook)(const wchar_t *pszID, const char *pszModule, int iType, const wchar_t *pszUID, const wchar_t* pszText, INT_PTR dwItem);
- BOOL (*DoEventHookAsync)(HWND hwnd, const wchar_t *pszID, const char *pszModule, int iType, const wchar_t* pszUID, const wchar_t* pszText, INT_PTR dwItem);
+ BOOL (*DoEventHook)(const wchar_t *pszID, const char *pszModule, int iType, const USERINFO *pUser, const wchar_t* pszText, INT_PTR dwItem);
+ BOOL (*DoEventHookAsync)(HWND hwnd, const wchar_t *pszID, const char *pszModule, int iType, const USERINFO *pUser, const wchar_t* pszText, INT_PTR dwItem);
BOOL (*DoSoundsFlashPopupTrayStuff)(SESSION_INFO *si, GCEVENT *gce, BOOL bHighlight, int bManyFix);
BOOL (*DoTrayIcon)(SESSION_INFO *si, GCEVENT *gce);