From a6bb80933c2984cf9a703e6dae6f1f18851c19b6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 19 Jun 2023 13:50:44 +0300 Subject: UM_FindUserFromIndex: another major useless crutch died --- include/m_chat_int.h | 1 - include/m_srmm_int.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/m_chat_int.h b/include/m_chat_int.h index d4856bc774..042eda91e6 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -284,7 +284,6 @@ struct CHAT_MANAGER int (*UM_CompareItem)(const USERINFO *u1, const USERINFO *u2); USERINFO* (*UM_AddUser)(SESSION_INFO *si, const wchar_t *pszUID, const wchar_t *pszNick, uint16_t wStatus); USERINFO* (*UM_FindUser)(SESSION_INFO *si, const wchar_t *pszUID); - USERINFO* (*UM_FindUserFromIndex)(SESSION_INFO *si, int index); USERINFO* (*UM_GiveStatus)(SESSION_INFO *si, const wchar_t *pszUID, uint16_t status); USERINFO* (*UM_SetContactStatus)(SESSION_INFO *si, const wchar_t *pszUID, uint16_t status); USERINFO* (*UM_TakeStatus)(SESSION_INFO *si, const wchar_t *pszUID, uint16_t status); diff --git a/include/m_srmm_int.h b/include/m_srmm_int.h index 283e9f69b7..6fe11774e2 100644 --- a/include/m_srmm_int.h +++ b/include/m_srmm_int.h @@ -294,6 +294,7 @@ public: void ClearLog(); void RedrawLog(); void ShowColorChooser(int iCtrlId); + void UpdateNickList(void); virtual void AddLog(const LOGINFO &lin); virtual void CloseTab() {} @@ -305,7 +306,6 @@ public: virtual void SetStatusText(const wchar_t *, HICON) {} virtual void ShowFilterMenu() {} virtual void UpdateFilterButton(); - virtual void UpdateNickList() {} virtual void UpdateOptions(); virtual void UpdateStatusBar() {} virtual void UpdateTitle() PURE; -- cgit v1.2.3