From be1918c1b2986ddb387cd593deddf120f9e61874 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 26 Nov 2018 14:41:11 +0300 Subject: fix for chat structures declaration --- include/m_chat.h | 2 +- include/m_chat_int.h | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/m_chat.h b/include/m_chat.h index 978e1e1860..6547a7a788 100644 --- a/include/m_chat.h +++ b/include/m_chat.h @@ -166,7 +166,7 @@ EXTERN_C MIR_APP_DLL(int) Chat_Register(const GCREGISTER*); #define GCW_PRIVMESS 3 // NOT SUPPORTED YET! the session is a 1 to 1 session, but with additional // support for adding more users etc. ex "MSN session". -EXTERN_C MIR_APP_DLL(struct GCSessionInfoBase*) Chat_NewSession( +EXTERN_C MIR_APP_DLL(struct SESSION_INFO*) Chat_NewSession( int iType, // Use one of the GCW_* flags above to set the type of session const char *pszModule, // The name of the protocol owning the session (the same as pszModule when you register) const wchar_t *ptszID, // The unique identifier for the session. diff --git a/include/m_chat_int.h b/include/m_chat_int.h index 0eb552f93a..69106dcba0 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -253,6 +253,14 @@ struct GlobalLogSettingsBase ///////////////////////////////////////////////////////////////////////////////////////// +#ifndef SRMM_OWN_STRUCTURES +struct LOGSTREAMDATA : public GCLogStreamDataBase {}; +struct SESSION_INFO : public GCSessionInfoBase {}; +struct MODULEINFO : public GCModuleInfoBase {}; +#endif + +///////////////////////////////////////////////////////////////////////////////////////// + #define FONTMODE_USE 1 #define FONTMODE_SKIP 2 #define FONTMODE_ALTER 3 -- cgit v1.2.3