From 533a975813e8f8803a54274f286cd86e742125cd Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 5 Mar 2025 12:34:03 +0300 Subject: minus one unneeded function in chat_manager --- include/m_chat_int.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/m_chat_int.h b/include/m_chat_int.h index 6f52166e5f..7189facdca 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -280,7 +280,6 @@ struct CHAT_MANAGER BOOL (*MM_RemoveAll)(void); STATUSINFO* (*TM_FindStatus)(STATUSINFO *pStatusList, const wchar_t *pszStatus); - wchar_t* (*TM_WordToString)(STATUSINFO *pStatusList, uint16_t Status); BOOL (*TM_RemoveAll)(STATUSINFO** pStatusList); int (*UM_CompareItem)(const USERINFO *u1, const USERINFO *u2); @@ -365,13 +364,16 @@ MIR_APP_DLL(void) Chat_EmptyHistory(SESSION_INFO *si); // creates custom popup menu for a group chat MIR_APP_DLL(void) Chat_CreateMenu(HMENU hMenu, SESSION_INFO *si, const wchar_t *pszUID); -// calculates width or height of a string -MIR_APP_DLL(int) Chat_GetTextPixelSize(const wchar_t *pszText, HFONT hFont, bool bWidth); +// retrieves user's role/status +MIR_APP_DLL(STATUSINFO*) Chat_GetStatus(STATUSINFO *pStatuses, const USERINFO *pUser); // creates a default description of a group chat event // returns true if lin->ptszText is already utilized, you need to add it manually then otherwise MIR_APP_DLL(bool) Chat_GetDefaultEventDescr(const SESSION_INFO *si, const LOGINFO *lin, CMStringW &res); +// calculates width or height of a string +MIR_APP_DLL(int) Chat_GetTextPixelSize(const wchar_t *pszText, HFONT hFont, bool bWidth); + // sets mute mode for a group chat MIR_APP_DLL(int) Chat_IsMuted(MCONTACT hContact); MIR_APP_DLL(void) Chat_Mute(MCONTACT hContact, int mode); -- cgit v1.2.3