summaryrefslogtreecommitdiff
path: root/include/m_chat_int.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-15 16:14:00 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-15 16:14:00 +0000
commitc4e3c65e2e850f978516823397b802557ad7ef1a (patch)
tree3595748f3c7d78fcc2c6aafe6319209cd118f563 /include/m_chat_int.h
parent156c91b93ca6674da6f7021b8579b62d79403f20 (diff)
- 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
Diffstat (limited to 'include/m_chat_int.h')
-rw-r--r--include/m_chat_int.h17
1 files changed, 12 insertions, 5 deletions
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;