diff options
Diffstat (limited to 'plugins/Actman/actman.dpr')
-rw-r--r-- | plugins/Actman/actman.dpr | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/Actman/actman.dpr b/plugins/Actman/actman.dpr index bd2e759ccc..c54f7fbfef 100644 --- a/plugins/Actman/actman.dpr +++ b/plugins/Actman/actman.dpr @@ -180,6 +180,12 @@ begin end;
end;
+function DoAddButton(wParam:WPARAM;lParam:LPARAM):int;cdecl;
+begin
+ Srmm_AddButton(pBBButton(lParam));
+ result := 0;
+end;
+
function DoCallContactService(wParam:WPARAM;lParam:LPARAM):int;cdecl;
var
ccs:PCCSDATA;
@@ -241,6 +247,7 @@ begin CreateServiceFunction('Utils/OpenURL',@DoOpenUrl);
CreateServiceFunction('Proto/CallContactService', @DoCallContactService);
+ CreateServiceFunction('Actman/ButtonsBar/AddButton', @DoAddButton);
HookEvent(ME_SYSTEM_MODULESLOADED,@OnModulesLoaded);
end;
|