From 1fb0cd07fba1e8d6f9ac2ebe3b4f2e1c60acb81b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 27 Feb 2014 21:51:46 +0000 Subject: - metacontacts are always present; - added META_PROTO constant for mc module name; - MS_MC_GETPROTOCOLNAME removed, because it always returns META_PROTO git-svn-id: http://svn.miranda-ng.org/main/trunk@8319 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_metacontacts.inc | 7 +++---- include/m_metacontacts.h | 8 +++----- 2 files changed, 6 insertions(+), 9 deletions(-) (limited to 'include') diff --git a/include/delphi/m_metacontacts.inc b/include/delphi/m_metacontacts.inc index c25dfeadc2..27912d1e4f 100644 --- a/include/delphi/m_metacontacts.inc +++ b/include/delphi/m_metacontacts.inc @@ -120,10 +120,6 @@ const lParam=0 } ME_MC_UNFORCESEND = 'MetaContacts/UnforceSend'; - { method to get protocol name - used to be sure you're dealing with a "real" metacontacts plugin :) - wParam=lParam=0 } - MS_MC_GETPROTOCOLNAME = 'MetaContacts/GetProtoName'; - { wParam=(HANDLE)hContact lParam=0 convert a given contact into a metacontact @@ -153,6 +149,9 @@ const } MS_MC_DISABLEHIDDENGROUP = 'MetaContacts/DisableHiddenGroup'; +const + META_PROTO = 'MetaContacts'; + { returns true if a contact is a metacontact or false otherwise } function db_mc_isMeta(hContact:MCONTACT):Integer; stdcall; diff --git a/include/m_metacontacts.h b/include/m_metacontacts.h index 02d0fece6f..e652d09871 100644 --- a/include/m_metacontacts.h +++ b/include/m_metacontacts.h @@ -26,6 +26,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include +// standard module for all mc-related information +#define META_PROTO "MetaContacts" + //gets the handle for the default contact //wParam=(HANDLE)hMetaContact //lParam=0 @@ -124,11 +127,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // lParam=0 #define ME_MC_UNFORCESEND "MetaContacts/UnforceSend" -// method to get protocol name - used to be sure you're dealing with a "real" metacontacts plugin :) -// wParam=lParam=0 -#define MS_MC_GETPROTOCOLNAME "MetaContacts/GetProtoName" - - // added 0.9.5.0 (22/3/05) // wParam=(HANDLE)hContact // lParam=0 -- cgit v1.2.3