summaryrefslogtreecommitdiff
path: root/src/modules/chat/chat.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-02-23 19:08:20 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-02-23 19:08:20 +0000
commita142d261af1f740156898be29c3724b8a517a77a (patch)
tree11b676ec044683474ca15813f704a02f801ba927 /src/modules/chat/chat.h
parent46bbde150e727df9a08eadf0c87454c40d364f3e (diff)
DoRtfToTags fixed & moved into the core
git-svn-id: http://svn.miranda-ng.org/main/trunk@12252 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/chat/chat.h')
-rw-r--r--src/modules/chat/chat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/chat/chat.h b/src/modules/chat/chat.h
index f393d629b3..a84ed5cf54 100644
--- a/src/modules/chat/chat.h
+++ b/src/modules/chat/chat.h
@@ -87,6 +87,7 @@ int LoadChatModule(void);
void UnloadChatModule(void);
// tools.c
+int DoRtfToTags(CMString &pszText, int iNumColors, COLORREF *pColors);
int GetTextPixelSize(TCHAR* pszText, HFONT hFont, BOOL bWidth);
TCHAR *RemoveFormatting(const TCHAR* pszText);
BOOL DoSoundsFlashPopupTrayStuff(SESSION_INFO *si, GCEVENT *gce, BOOL bHighlight, int bManyFix);
@@ -96,7 +97,7 @@ int GetRichTextLength(HWND hwnd);
BOOL IsHighlighted(SESSION_INFO *si, GCEVENT *pszText);
UINT CreateGCMenu(HWND hwndDlg, HMENU *hMenu, int iIndex, POINT pt, SESSION_INFO *si, TCHAR* pszUID, TCHAR* pszWordText);
void DestroyGCMenu(HMENU *hMenu, int iIndex);
-BOOL DoEventHookAsync(HWND hwnd, const TCHAR *pszID, const char *pszModule, int iType, TCHAR* pszUID, TCHAR* pszText, INT_PTR dwItem);
+BOOL DoEventHookAsync(HWND hwnd, const TCHAR *pszID, const char *pszModule, int iType, const TCHAR* pszUID, const TCHAR* pszText, INT_PTR dwItem);
BOOL DoEventHook(const TCHAR *pszID, const char *pszModule, int iType, const TCHAR *pszUID, const TCHAR* pszText, INT_PTR dwItem);
BOOL IsEventSupported(int eventType);
BOOL LogToFile(SESSION_INFO *si, GCEVENT *gce);