From d2b4dacd31b51c7319d8d96460a6c4fad8cd0274 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 4 Sep 2019 15:01:54 +0300 Subject: history manager built into CHAT_MANAGER isn't needed anymore --- include/m_chat_int.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'include') diff --git a/include/m_chat_int.h b/include/m_chat_int.h index 924d42d3e2..272e4c782f 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -108,12 +108,6 @@ struct MIR_APP_EXPORT GCModuleInfoBase : public MZeroedObject, public MNonCopyab int iMaxText; }; -struct COMMANDINFO -{ - char *lpCommand; - COMMANDINFO *last, *next; -}; - struct FONTINFO { LOGFONT lf; @@ -173,7 +167,6 @@ struct MIR_APP_EXPORT GCSessionInfoBase : public MZeroedObject, public MNonCopya int currentHovered; CMsgDialog *pDlg; - COMMANDINFO *lpCommands, *lpCurrentCommand; LOGINFO *pLog, *pLogEnd; USERINFO *pMe; STATUSINFO *pStatuses; @@ -293,9 +286,6 @@ struct CHAT_MANAGER SESSION_INFO* (*SM_FindSession)(const wchar_t *pszID, const char *pszModule); HICON (*SM_GetStatusIcon)(SESSION_INFO *si, USERINFO * ui); BOOL (*SM_BroadcastMessage)(const char *pszModule, UINT msg, WPARAM wParam, LPARAM lParam, BOOL bAsync); - void (*SM_AddCommand)(const wchar_t *pszID, const char *pszModule, const char* lpNewCommand); - char* (*SM_GetPrevCommand)(const wchar_t *pszID, const char *pszModule); - char* (*SM_GetNextCommand)(const wchar_t *pszID, const char *pszModule); int (*SM_GetCount)(const char *pszModule); SESSION_INFO* (*SM_FindSessionByIndex)(const char *pszModule, int iItem); USERINFO* (*SM_GetUserFromIndex)(const wchar_t *pszID, const char *pszModule, int index); -- cgit v1.2.3