summaryrefslogtreecommitdiff
path: root/plugins/Actman/actman.dpr
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-10-09 21:06:30 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-10-09 21:06:30 +0300
commitd01fbfbee39925d79512b8b829824cffc6d0698d (patch)
tree96966f15915c57e46baf20c82d51a9ece741516b /plugins/Actman/actman.dpr
parent9d5c3ca4419a82d67d64584da3a71a1e94b761c6 (diff)
Actman: crutch for Clist_SetStatusMode
Diffstat (limited to 'plugins/Actman/actman.dpr')
-rw-r--r--plugins/Actman/actman.dpr7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/Actman/actman.dpr b/plugins/Actman/actman.dpr
index c54f7fbfef..3608e7d906 100644
--- a/plugins/Actman/actman.dpr
+++ b/plugins/Actman/actman.dpr
@@ -200,6 +200,12 @@ begin
result := 0;
end;
+function DoSetStatus(wParam:WPARAM;lParam:LPARAM):int;cdecl;
+begin
+ Clist_SetStatusMode(wParam);
+ result := 0;
+end;
+
function OnModulesLoaded(wParam:WPARAM;lParam:LPARAM):int;cdecl;
var
ptr:pActionLink;
@@ -248,6 +254,7 @@ begin
CreateServiceFunction('Utils/OpenURL',@DoOpenUrl);
CreateServiceFunction('Proto/CallContactService', @DoCallContactService);
CreateServiceFunction('Actman/ButtonsBar/AddButton', @DoAddButton);
+ CreateServiceFunction('CList/SetStatusMode', @DoSetStatus);
HookEvent(ME_SYSTEM_MODULESLOADED,@OnModulesLoaded);
end;