From 5289388e941bbdeca3d380c2f1044228e3397bc0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 20 Mar 2014 14:47:13 +0000 Subject: db_mc_enable, db_mc_isEnabled - new functions to detect whether MC are used git-svn-id: http://svn.miranda-ng.org/main/trunk@8666 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_metacontacts.inc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/delphi/m_metacontacts.inc') diff --git a/include/delphi/m_metacontacts.inc b/include/delphi/m_metacontacts.inc index 6807a366f9..4ff361fa71 100644 --- a/include/delphi/m_metacontacts.inc +++ b/include/delphi/m_metacontacts.inc @@ -110,6 +110,14 @@ const ///////////////////////////////////////////////////////////////////////////////////////// // binary interface to MC +{ returns true if metacontacts are enabled or false otherwise } +function db_mc_isEnabled():bool; stdcall; + external CoreDLL name 'db_mc_isEnabled'; + +{ returns true if a contact is a metacontact or false otherwise } +procedure db_mc_enable(bEnabled:bool); stdcall; + external CoreDLL name 'db_mc_enable'; + { returns true if a contact is a metacontact or false otherwise } function db_mc_isMeta(hContact:TMCONTACT):int; stdcall; external CoreDLL name 'db_mc_isMeta'; -- cgit v1.2.3