diff options
author | George Hazan <ghazan@miranda.im> | 2017-04-04 17:12:36 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-04-04 17:12:36 +0300 |
commit | f5a06e8c7677cb29b100314d17b5931f85c3d33f (patch) | |
tree | 8ee401be5558d7f6e5148fed2adb8a79dcb9592a /include/m_chat_int.h | |
parent | cb9750e8ef71c32441c34c169101c4329a9ac8b5 (diff) |
- GC_FONTSIZE considered useless;
- archaic linked list of modules replaced with the standard LIST<> which is much faster
- fix for the module destruction
Diffstat (limited to 'include/m_chat_int.h')
-rw-r--r-- | include/m_chat_int.h | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/include/m_chat_int.h b/include/m_chat_int.h index 4871a636bd..c57491af82 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -81,21 +81,17 @@ class CChatRoomDlg; struct GCModuleInfoBase
{
- char* pszModule;
- wchar_t* ptszModDispName;
- char* pszHeader;
- bool bBold;
- bool bUnderline;
- bool bItalics;
- bool bColor;
- bool bBkgColor;
- bool bChanMgr;
- bool bAckMsg;
- bool bFontSize;
- int nColorCount;
- COLORREF* crColors;
+ char *pszModule;
+ wchar_t *ptszModDispName;
+ char *pszHeader;
+
+ bool bBold, bItalics, bUnderline;
+ bool bColor, bBkgColor;
+ bool bChanMgr, bAckMsg;
+
int iMaxText;
- MODULEINFO* next;
+ int nColorCount;
+ COLORREF *crColors;
};
struct COMMANDINFO
@@ -339,6 +335,7 @@ struct CHAT_MANAGER // user-defined custom callbacks
void (*OnCreateModule)(MODULEINFO*);
+ void (*OnDestroyModule)(MODULEINFO*);
void (*OnCreateSession)(SESSION_INFO*, MODULEINFO*);
void (*OnOfflineSession)(SESSION_INFO*);
|