From 7bdb598e26e7e98788933af43090d34027166969 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 14 Sep 2016 18:01:49 +0000 Subject: second major wipeout of database services & structures: - DBCONTACTENUMSETTINGS removed; - all helpers moved to mir_core.dll git-svn-id: http://svn.miranda-ng.org/main/trunk@17296 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/mRadio/i_myservice.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/mRadio/i_myservice.inc') diff --git a/plugins/mRadio/i_myservice.inc b/plugins/mRadio/i_myservice.inc index d55ab469e9..303aef72c1 100644 --- a/plugins/mRadio/i_myservice.inc +++ b/plugins/mRadio/i_myservice.inc @@ -149,7 +149,7 @@ begin pc:=GetParamSectionStr(section,'URL'); if pc<>nil then begin - result:=CallService(MS_DB_CONTACT_ADD,0,0); + result:=db_add_contact(); if result<>0 then begin Proto_AddToContact(result,PluginName); @@ -259,7 +259,7 @@ begin StrCopy(dst,PAnsiChar(lParam)); if (lParam<>0) or ShowDlg(dst,'radio.ini',nil,false) then begin - if (wParam<>0) and (CallService(MS_DB_CONTACT_IS,wParam,0)<>0) then + if (wParam<>0) and (db_is_contact(wParam)<>0) then begin result:=1; ExportRadioContact(result,dst,wParam) @@ -285,7 +285,7 @@ begin filter:=ConstructFilter; if ShowDlgW(@buf,nil,filter) then begin - result:=CallService(MS_DB_CONTACT_ADD,0,0); + result:=db_add_contact(); if result<>0 then begin Proto_AddToContact(result,PluginName); -- cgit v1.2.3