From 047076a15f1588d173e09dbb33f9beb15756f408 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Wed, 9 Jul 2014 08:30:07 +0000 Subject: Core: Add PF4_GROUPCHATFILES flag to mark protocols that support sending files to group chats StdFile: Don't show "Send file" menu item for groupchats of protocols that doesn't support it git-svn-id: http://svn.miranda-ng.org/main/trunk@9740 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_protosvc.inc | 1 + include/m_protosvc.h | 1 + 2 files changed, 2 insertions(+) (limited to 'include') diff --git a/include/delphi/m_protosvc.inc b/include/delphi/m_protosvc.inc index 36c20984d9..fff2e30ad6 100644 --- a/include/delphi/m_protosvc.inc +++ b/include/delphi/m_protosvc.inc @@ -128,6 +128,7 @@ const PF4_IMSENDOFFLINE = $00000100; // protocol supports sending offline messages (v0.8.0+) PF4_INFOSETTINGSVC = $00000200; // protocol supports user info translation services (v0.8.0+) PF4_NOAUTHDENYREASON = $00000400; // protocol doesn't support authorization deny reason (v0.9.0+) + PF4_GROUPCHATFILES = $00000800; // protocol supports sending files to group chats (v0.95.2+) PFLAG_UNIQUEIDTEXT = 100; // returns a static buffer of text describing the unique field by which this protocol identifies users (already translated), or NULL PFLAG_MAXCONTACTSPERPACKET = 200; // v0.1.2.2+: returns the maximum number of contacts which can be sent in a single PSS_CONTACTS. lParam=(LPARAM)hContact. diff --git a/include/m_protosvc.h b/include/m_protosvc.h index 1a5dd3d817..fa5c3cb3ad 100644 --- a/include/m_protosvc.h +++ b/include/m_protosvc.h @@ -143,6 +143,7 @@ static __inline unsigned long Proto_Status2Flag(int status) #define PF4_IMSENDOFFLINE 0x00000100 // protocol supports sending offline messages (v0.8.0+) #define PF4_INFOSETTINGSVC 0x00000200 // protocol supports user info translation services (v0.8.0+) #define PF4_NOAUTHDENYREASON 0x00000400 // protocol doesn't support authorization deny reason (v0.9.0+) +#define PF4_GROUPCHATFILES 0x00000800 // protocol supports sending files to group chats (v0.95.2+) #define PFLAG_UNIQUEIDTEXT 100 //returns a static buffer of text describing the unique field by which this protocol identifies users (already translated), or NULL -- cgit v1.2.3