From 0c508d74bee722c4d0032b33377a1305b484027a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 28 Dec 2018 20:28:13 +0300 Subject: obsolte perversion with PF4_INFOSETTINGSVC removed --- include/m_protosvc.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'include') diff --git a/include/m_protosvc.h b/include/m_protosvc.h index 7e0daf7f83..96fffc1732 100644 --- a/include/m_protosvc.h +++ b/include/m_protosvc.h @@ -142,7 +142,6 @@ static __inline unsigned long Proto_Status2Flag(int status) #define PF4_AVATARS 0x00000020 // protocol has avatar support #define PF4_OFFLINEFILES 0x00000040 // protocols supports sending files to offline users #define PF4_IMSENDOFFLINE 0x00000100 // protocol supports sending offline messages -#define PF4_INFOSETTINGSVC 0x00000200 // protocol supports user info translation services #define PF4_NOAUTHDENYREASON 0x00000400 // protocol doesn't support authorization deny reason #define PF4_GROUPCHATFILES 0x00000800 // protocol supports sending files to group chats #define PF4_SINGLEFILEONLY 0x00001000 // protocol supports sending files one by one only @@ -484,21 +483,6 @@ struct PROTOFILERESUME #define PS_LEAVECHAT "/LeaveChat" -/////////////////////////////////////////////////////////////////////////////// -// Asks a protocol to read contact information and translate them (for a lookup fields) -// wParam = (MCONTACT)hContact -// lParam = (LPARAM)(DBCONTACTGETSETTING*)&dbcgs -// The flag PF4_INFOSETTINGSVC indicates that a protocol supports this. Basically it should -// do the same as MS_DB_CONTACT_GETSETTING_STR, except that for a lookup settings (e.g. Language) -// it returns string instead of an ID stored in the database. -// Caller is responsible for free()ing dbcgs.pValue->pszVal and pbVal if they are -// returned. You must **NOT** do this from your version of free() you have to use Miranda's free() -// you can get a function pointer to Miranda's free() via MS_SYSTEM_GET_MMI, see m_system.h -// Returns 0 on success or nonzero if the setting name was not found or hContact -// was invalid - -#define PS_GETINFOSETTING "/GetInfoSetting" - /////////////////////////////////////////////////////////////////////////////// // Asks protocol for the status message for a status // wParam = (WORD) 0 for current status or a status id -- cgit v1.2.3