summaryrefslogtreecommitdiff
path: root/include/m_chat_int.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-16 08:37:51 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-16 08:37:51 +0000
commit38ab4dde6b080defc5e7d7b286110d580cabdaa0 (patch)
tree4890eaba00645f597e91a888277d461ba3d923c0 /include/m_chat_int.h
parent2f30799b091475f1086b756bba4b43ebacd3aefc (diff)
kernel chat engine, part 2 - scriver
git-svn-id: http://svn.miranda-ng.org/main/trunk@7676 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_chat_int.h')
-rw-r--r--include/m_chat_int.h23
1 files changed, 14 insertions, 9 deletions
diff --git a/include/m_chat_int.h b/include/m_chat_int.h
index b98bc2cfc1..089eef15b3 100644
--- a/include/m_chat_int.h
+++ b/include/m_chat_int.h
@@ -27,6 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <m_chat.h>
#define OPTIONS_FONTCOUNT 17
+#define STATUSICONCOUNT 6
#define GC_UPDATETITLE (WM_USER+100)
#define GC_SPLITTERMOVED (WM_USER+101)
@@ -105,13 +106,15 @@ struct GCModuleInfoBase
char* pszModule;
TCHAR* ptszModDispName;
char* pszHeader;
- BOOL bBold;
- BOOL bUnderline;
- BOOL bItalics;
- BOOL bColor;
- BOOL bBkgColor;
- BOOL bChanMgr;
- BOOL bAckMsg;
+ bool bBold;
+ bool bUnderline;
+ bool bItalics;
+ bool bColor;
+ bool bBkgColor;
+ bool bChanMgr;
+ bool bAckMsg;
+ bool bSingleFormat;
+ bool bFontSize;
int nColorCount;
COLORREF* crColors;
HICON hOnlineIcon;
@@ -353,11 +356,11 @@ struct CHAT_MANAGER
BOOL (*LM_TrimLog)(LOGINFO** ppLogListStart, LOGINFO** ppLogListEnd, int iCount);
BOOL (*LM_RemoveAll)(LOGINFO** ppLogListStart, LOGINFO** ppLogListEnd);
- HANDLE (*AddRoom)(const char *pszModule, const TCHAR* pszRoom, const TCHAR* pszDisplayName, int iType);
+ HANDLE (*AddRoom)(const char *pszModule, const TCHAR *pszRoom, const TCHAR *pszDisplayName, int iType);
BOOL (*SetOffline)(HANDLE hContact, BOOL bHide);
BOOL (*SetAllOffline)(BOOL bHide, const char *pszModule);
BOOL (*AddEvent)(HANDLE hContact, HICON hIcon, HANDLE hEvent, int type, TCHAR* fmt, ...);
- HANDLE (*FindRoom)(const char *pszModule, const TCHAR* pszRoom);
+ HANDLE (*FindRoom)(const char *pszModule, const TCHAR *pszRoom);
void (*ShowRoom)(SESSION_INFO *si, WPARAM wp, BOOL bSetForeground);
char* (*Log_CreateRTF)(LOGSTREAMDATA *streamData);
@@ -397,6 +400,8 @@ struct CHAT_MANAGER
char *szActiveWndModule;
int logPixelSY, logPixelSX;
int cbModuleInfo, cbSession;
+
+ SESSION_INFO *wndList;
};
extern CHAT_MANAGER ci, *pci;