summaryrefslogtreecommitdiff
path: root/plugins/Actman/actman.dpr
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Actman/actman.dpr')
-rw-r--r--plugins/Actman/actman.dpr9
1 files changed, 7 insertions, 2 deletions
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;