From 226edda50d8b2209d0aee41f4d3c31e1b25d7d64 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 23 Jun 2015 19:52:19 +0000 Subject: stub added to compensate the missing service git-svn-id: http://svn.miranda-ng.org/main/trunk@14355 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Actman/actman.dpr | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/Actman/actman.dpr b/plugins/Actman/actman.dpr index f9eee181cb..8b036e4f33 100644 --- a/plugins/Actman/actman.dpr +++ b/plugins/Actman/actman.dpr @@ -178,7 +178,12 @@ begin StrCopy(p,opt_flags); DBWriteDWord(0,DBBranch,section,Macro^.flags); end; end; +end; +function DoOpenUrl(wParam:WPARAM;lParam:LPARAM):int;cdecl; +begin + Utils_OpenUrl(PAnsiChar(lParam), byte(wParam)); + result := 0; end; function OnModulesLoaded(wParam:WPARAM;lParam:LPARAM):int;cdecl; @@ -208,7 +213,6 @@ begin // cheat HookEvent(ME_SYSTEM_MODULESLOADED,@DoAutostart); -// DoAutostart(0,0); end; function Load:int; cdecl; @@ -225,9 +229,10 @@ begin CreateServiceFunction(MS_ACT_RUNBYID ,@ActRun); CreateServiceFunction(MS_ACT_RUNBYNAME,@ActRunGroup); CreateServiceFunction(MS_ACT_RUNPARAMS,@ActRunParam); -//!! CreateServiceFunction(MS_ACT_INOUT ,@ActInOut); CreateServiceFunction(MS_ACT_SELECT ,@ActSelect); + CreateServiceFunction('Utils/OpenURL',@DoOpenUrl); + HookEvent(ME_SYSTEM_MODULESLOADED,@OnModulesLoaded); end; -- cgit v1.2.3