From 0173277372e2962b8f5703a0ebad7892dda15e6c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 9 Mar 2014 21:50:49 +0000 Subject: end of the old MC API git-svn-id: http://svn.miranda-ng.org/main/trunk@8534 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/UserInfoEx/src/ex_import/classExImContactXML.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/UserInfoEx/src/ex_import/classExImContactXML.cpp') diff --git a/plugins/UserInfoEx/src/ex_import/classExImContactXML.cpp b/plugins/UserInfoEx/src/ex_import/classExImContactXML.cpp index d253876279..b2c2bf80d4 100644 --- a/plugins/UserInfoEx/src/ex_import/classExImContactXML.cpp +++ b/plugins/UserInfoEx/src/ex_import/classExImContactXML.cpp @@ -217,9 +217,9 @@ int CExImContactXML::Export(FILE *xmlfile, DB::CEnumList* pModules) if (isMeta()) { CExImContactXML vContact(_pXmlFile); - const int cnt = DB::MetaContact::SubCount(_hContact); - const int def = DB::MetaContact::SubDefNum(_hContact); - MCONTACT hSubContact = DB::MetaContact::Sub(_hContact, def); + const int cnt = db_mc_getSubCount(_hContact); + const int def = db_mc_getDefaultNum(_hContact); + MCONTACT hSubContact = db_mc_getSub(_hContact, def); // export default subcontact if (hSubContact && vContact.fromDB(hSubContact)) @@ -227,7 +227,7 @@ int CExImContactXML::Export(FILE *xmlfile, DB::CEnumList* pModules) for (int i = 0; i < cnt; i++) { if (i != def) { - hSubContact = DB::MetaContact::Sub(_hContact, i); + hSubContact = db_mc_getSub(_hContact, i); if (hSubContact && vContact.fromDB(hSubContact)) vContact.ExportSubContact(this, pModules); } -- cgit v1.2.3