From 831ad8a0121f9f9ee5c4f38d4a0d209b3c2bdb60 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 16 Jan 2014 21:40:14 +0000 Subject: kernel chats, part 3, tabsrmm git-svn-id: http://svn.miranda-ng.org/main/trunk@7684 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_chat_int.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/m_chat_int.h') diff --git a/include/m_chat_int.h b/include/m_chat_int.h index 46c62a3917..550b4fcdaa 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -148,6 +148,7 @@ struct LOGINFO BOOL bIsHighlighted; time_t time; int iType; + DWORD dwFlags; LOGINFO *next, *prev; }; @@ -178,6 +179,7 @@ struct GCSessionInfoBase BOOL bFilterEnabled; BOOL bNicklistEnabled; BOOL bInitDone; + BOOL bTrimmed; char* pszModule; TCHAR* ptszID; @@ -363,6 +365,10 @@ struct CHAT_MANAGER char* (*Log_CreateRTF)(LOGSTREAMDATA *streamData); void (*LoadMsgDlgFont)(int i, LOGFONT *lf, COLORREF *color); TCHAR* (*MakeTimeStamp)(TCHAR *pszStamp, time_t time); + BOOL (*DoPopup)(SESSION_INFO *si, GCEVENT *gce); + int (*ShowPopup)(HANDLE hContact, SESSION_INFO *si, HICON hIcon, char* pszProtoName, TCHAR* pszRoomName, COLORREF crBkg, const TCHAR* fmt, ...); + TCHAR* (*RemoveFormatting)(const TCHAR *pszText); + BOOL (*DoSoundsFlashPopupTrayStuff)(SESSION_INFO *si, GCEVENT *gce, BOOL bHighlight, int bManyFix); int logPixelSY, logPixelSX; char *szActiveWndModule; @@ -376,6 +382,7 @@ struct CHAT_MANAGER // user-defined custom callbacks void (*OnCreateModule)(MODULEINFO*); + void (*OnCreateSession)(SESSION_INFO*, MODULEINFO*); void (*OnSessionDblClick)(SESSION_INFO*); void (*OnSessionOffline)(SESSION_INFO*); void (*OnSessionRemove)(SESSION_INFO*); @@ -393,6 +400,7 @@ struct CHAT_MANAGER void (*OnAddUser)(SESSION_INFO*, USERINFO*); void (*OnNewUser)(SESSION_INFO*, USERINFO*); void (*OnRemoveUser)(SESSION_INFO *si, USERINFO*); + void (*OnChangeNick)(SESSION_INFO *si); void (*OnAddStatus)(SESSION_INFO *si, STATUSINFO*); void (*OnSetStatus)(SESSION_INFO *si, int); -- cgit v1.2.3