From 184155c8aaf1dd0c8bcd498dfd7ba9c512433e73 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 Apr 2014 11:51:27 +0000 Subject: db_mc_setDefault/db_mc_setDefaultNum got a flag to update database or not git-svn-id: http://svn.miranda-ng.org/main/trunk@9047 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_metacontacts.inc | 4 ++-- include/m_metacontacts.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/delphi/m_metacontacts.inc b/include/delphi/m_metacontacts.inc index fb0ba596ab..ece131c1a6 100644 --- a/include/delphi/m_metacontacts.inc +++ b/include/delphi/m_metacontacts.inc @@ -103,10 +103,10 @@ function db_mc_getSubCount(hContact:TMCONTACT):int; stdcall; external CoreDLL name 'db_mc_getSubCount'; { sets the default contact, using the subcontact's handle } -function db_mc_setDefault(hContact,hSub:TMCONTACT):int; stdcall; +function db_mc_setDefault(hContact,hSub:TMCONTACT; bWriteDb:bool):int; stdcall; external CoreDLL name 'db_mc_setDefault'; { sets the default contact, using the subcontact's number } -function db_mc_setDefaultNum(hContact:TMCONTACT; idx:int):int; stdcall; +function db_mc_setDefaultNum(hContact:TMCONTACT; idx:int; bWriteDb:bool):int; stdcall; external CoreDLL name 'db_mc_setDefaultNum'; {$ENDIF} diff --git a/include/m_metacontacts.h b/include/m_metacontacts.h index 889d3ac188..9be9c6819a 100644 --- a/include/m_metacontacts.h +++ b/include/m_metacontacts.h @@ -96,10 +96,10 @@ MIR_CORE_DLL(MCONTACT) db_mc_getMeta(MCONTACT hSubContact); MIR_CORE_DLL(MCONTACT) db_mc_getSub(MCONTACT hMetaContact, int iNum); //sets the default contact, using the subcontact's handle -MIR_CORE_DLL(int) db_mc_setDefault(MCONTACT hMetaContact, MCONTACT hSub); +MIR_CORE_DLL(int) db_mc_setDefault(MCONTACT hMetaContact, MCONTACT hSub, BOOL bWriteDb); //sets the default contact, using the subcontact's number -MIR_CORE_DLL(int) db_mc_setDefaultNum(MCONTACT hMetaContact, int iNum); +MIR_CORE_DLL(int) db_mc_setDefaultNum(MCONTACT hMetaContact, int iNum, BOOL bWriteDb); #if defined(__cplusplus) } -- cgit v1.2.3