diff options
author | George Hazan <ghazan@miranda.im> | 2018-11-26 14:41:11 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-11-26 14:41:21 +0300 |
commit | be1918c1b2986ddb387cd593deddf120f9e61874 (patch) | |
tree | cedf0b0983817b488edcc7eb604f2d44a75c935f /include | |
parent | 91c5b3baaf5ac2790a99015afcfbf696dff682ca (diff) |
fix for chat structures declaration
Diffstat (limited to 'include')
-rw-r--r-- | include/m_chat.h | 2 | ||||
-rw-r--r-- | include/m_chat_int.h | 8 |
2 files changed, 9 insertions, 1 deletions
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
|