@@ -57,41 +57,47 @@ pub(crate) struct RegisteredPermissionHook {
5757}
5858
5959/// Registered hook with metadata for ui.render hook type.
60+ #[ allow( dead_code) ]
6061pub ( crate ) struct RegisteredUiRenderHook {
6162 pub plugin_id : String ,
6263 pub hook : Arc < dyn UiRenderHook > ,
6364 pub priority : HookPriority ,
6465}
6566
6667/// Registered hook for widget registration.
68+ #[ allow( dead_code) ]
6769pub ( crate ) struct RegisteredWidgetRegisterHook {
6870 pub plugin_id : String ,
6971 pub hook : Arc < dyn WidgetRegisterHook > ,
7072 pub priority : HookPriority ,
7173}
7274
7375/// Registered hook for key binding registration.
76+ #[ allow( dead_code) ]
7477pub ( crate ) struct RegisteredKeyBindingHook {
7578 pub plugin_id : String ,
7679 pub hook : Arc < dyn KeyBindingHook > ,
7780 pub priority : HookPriority ,
7881}
7982
8083/// Registered hook for theme override.
84+ #[ allow( dead_code) ]
8185pub ( crate ) struct RegisteredThemeOverrideHook {
8286 pub plugin_id : String ,
8387 pub hook : Arc < dyn ThemeOverrideHook > ,
8488 pub priority : HookPriority ,
8589}
8690
8791/// Registered hook for layout customization.
92+ #[ allow( dead_code) ]
8893pub ( crate ) struct RegisteredLayoutCustomizeHook {
8994 pub plugin_id : String ,
9095 pub hook : Arc < dyn LayoutCustomizeHook > ,
9196 pub priority : HookPriority ,
9297}
9398
9499/// Registered hook for modal injection.
100+ #[ allow( dead_code) ]
95101pub ( crate ) struct RegisteredModalInjectHook {
96102 pub plugin_id : String ,
97103 pub hook : Arc < dyn ModalInjectHook > ,
0 commit comments