diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-26 21:11:57 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-26 21:11:57 +0300 |
commit | ef5d5d9a996e2392d4634f8114d096e1fa98fb43 (patch) | |
tree | 5efb76e0b392cb549b9adeb9c9cf494ca94e72a8 /include | |
parent | 592c0d89f865c44e6909e0ca1e9d0c550be890b4 (diff) |
duplicate code removed
Diffstat (limited to 'include')
-rw-r--r-- | include/m_chat_int.h | 4 |
1 files changed, 3 insertions, 1 deletions
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);
|