From 9439b05189ce9db2cbe552796995cf67126af308 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 19 Jun 2023 14:48:33 +0300 Subject: SESSION_INFO: separate list for the interface support eliminated, now there's the only list of USERINFO sorted by their unique IDs --- include/m_chat.h | 3 --- include/m_chat_int.h | 5 ----- 2 files changed, 8 deletions(-) (limited to 'include') diff --git a/include/m_chat.h b/include/m_chat.h index bd5967dc9f..4a05f7ea80 100644 --- a/include/m_chat.h +++ b/include/m_chat.h @@ -443,7 +443,6 @@ MIR_APP_DLL(int) Chat_Terminate(const char *szModule); #define GCF_NAME 0x0020 // pszName is valid #define GCF_TYPE 0x0040 // iType is valid #define GCF_COUNT 0x0080 // iCount is valid -#define GCF_USERS 0x0100 // pszUsers is valid struct GC_INFO { @@ -455,8 +454,6 @@ struct GC_INFO LPTSTR pszName; // display name of the session void* pItemData; // user specified data. int iCount; // count of users in the nicklist - LPSTR pszUsers; // space separated string containing the UID's of the users in the user list. - // NOTE. Use Mirandas mmi_free() on the returned string. MCONTACT hContact; // hContact for the session (can be NULL) }; diff --git a/include/m_chat_int.h b/include/m_chat_int.h index 042eda91e6..83034f9677 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -176,7 +176,6 @@ struct MIR_APP_EXPORT SESSION_INFO : public MZeroedObject, public MNonCopyable MODULEINFO *pMI; SESSION_INFO *pParent; - LIST arKeys; OBJLIST arUsers; OBJLIST arEvents; @@ -190,10 +189,6 @@ struct MIR_APP_EXPORT SESSION_INFO : public MZeroedObject, public MNonCopyable { return (pParent != nullptr) ? pParent->arUsers : arUsers; } - __forceinline LIST& getKeyList() - { return (pParent != nullptr) ? pParent->arKeys : arKeys; - } - const char* getSoundName(int iEventType) const; }; -- cgit v1.2.3