From ef5d5d9a996e2392d4634f8114d096e1fa98fb43 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 26 Mar 2017 21:11:57 +0300 Subject: duplicate code removed --- include/m_chat_int.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/m_chat_int.h') diff --git a/include/m_chat_int.h b/include/m_chat_int.h index 267b145ff2..375035b9a2 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -387,6 +387,9 @@ EXTERN_C MIR_APP_DLL(DWORD) CALLBACK Srmm_MessageStreamCallback(DWORD_PTR dwCook // updates options for all windows EXTERN_C MIR_APP_DLL(void) Chat_UpdateOptions(); +// runs ME_GC_EVENT with the parameters passed +EXTERN_C MIR_APP_DLL(BOOL) Chat_DoEventHook(SESSION_INFO *si, int iType, const USERINFO *pUser, const wchar_t* pszText, INT_PTR dwItem); + // chat menu creation / destruction EXTERN_C MIR_APP_DLL(UINT) Chat_CreateGCMenu(HWND hwnd, HMENU hMenu, POINT pt, SESSION_INFO *si, const wchar_t *pszUID, const wchar_t *pszWordText); EXTERN_C MIR_APP_DLL(void) Chat_DestroyGCMenu(HMENU hMenu, int iIndex); @@ -408,7 +411,6 @@ protected: virtual INT_PTR DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) override; - void DoEventHook(int iType, const USERINFO *pUser, const wchar_t *pszText, INT_PTR dwItem); bool ProcessHotkeys(int key, bool bShift, bool bCtrl, bool bAlt); void RefreshButtonStatus(void); void RunUserMenu(HWND hwndOwner, USERINFO *ui, const POINT &pt); -- cgit v1.2.3