diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-23 19:52:19 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-23 19:52:19 +0000 |
commit | 226edda50d8b2209d0aee41f4d3c31e1b25d7d64 (patch) | |
tree | ce387e1020eb06e5c78bee6cf2485db89c0789f2 | |
parent | ccef0b4c21f28c71a715af4c68d81fd5d82b46bc (diff) |
stub added to compensate the missing service
git-svn-id: http://svn.miranda-ng.org/main/trunk@14355 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/Actman/actman.dpr | 9 |
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;
|