summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-03-05 12:34:03 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-03-05 12:34:03 +0300
commit533a975813e8f8803a54274f286cd86e742125cd (patch)
tree735aad10719472d8f2314f576a61149f572ae618 /include
parente481614f93972d2e831150fcc67550185a1e9c70 (diff)
minus one unneeded function in chat_manager
Diffstat (limited to 'include')
-rw-r--r--include/m_chat_int.h8
1 files changed, 5 insertions, 3 deletions
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);