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 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'include/delphi') 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; -- cgit v1.2.3