From c4e3c65e2e850f978516823397b802557ad7ef1a Mon Sep 17 00:00:00 2001 From: George Hazan <george.hazan@gmail.com> Date: Wed, 15 Jan 2014 16:14:00 +0000 Subject: - basic chat types to support plugin specific data; - default value changed for SplitterY git-svn-id: http://svn.miranda-ng.org/main/trunk@7667 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_chat_int.h | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/m_chat_int.h b/include/m_chat_int.h index cccf5475b7..b98bc2cfc1 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -96,7 +96,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. //structs -struct MODULEINFO +struct SESSION_INFO; +struct MODULEINFO; +struct LOGSTREAMDATA; + +struct GCModuleInfoBase { char* pszModule; TCHAR* ptszModDispName; @@ -164,7 +168,7 @@ struct USERINFO USERINFO *next; }; -struct SESSION_INFO +struct GCSessionInfoBase { HWND hWnd; @@ -215,10 +219,10 @@ struct SESSION_INFO int iOldItemID; interface IAccPropServices* pAccPropServicesForNickList; - SESSION_INFO *next; + SESSION_INFO *next; }; -struct LOGSTREAMDATA +struct GCLogStreamDataBase { char* buffer; int bufferOffset, bufferLen; @@ -226,7 +230,7 @@ struct LOGSTREAMDATA LOGINFO* lin; BOOL bStripFormat; BOOL bRedraw; - SESSION_INFO *si; + SESSION_INFO *si; }; struct GlobalLogSettingsBase @@ -279,6 +283,8 @@ struct GlobalLogSettingsBase BOOL ContactStatusFirst; }; +///////////////////////////////////////////////////////////////////////////////////////// + struct CHAT_MANAGER { void (*SetActiveSession)(const TCHAR *pszID, const char *pszModule); @@ -390,6 +396,7 @@ struct CHAT_MANAGER TCHAR *szActiveWndID; char *szActiveWndModule; int logPixelSY, logPixelSX; + int cbModuleInfo, cbSession; }; extern CHAT_MANAGER ci, *pci; -- cgit v1.2.3