obscreen/plugins/system/FleetmodeScreenRestart/FleetmodeScreenRestart.py
2024-03-01 04:30:03 +01:00

25 lines
702 B
Python

from plugins.system.ObPlugin import ObPlugin
from typing import List, Dict
from src.model.Variable import Variable
from src.model.VariableType import VariableType
from src.model.HookType import HookType
from src.model.HookRegistration import HookRegistration
class FleetmodeScreenRestart(ObPlugin):
def use_id(self):
return 'fleetmode_screen_restart'
def use_title(self):
return 'Fleetmode Screen Restart'
def use_variables(self) -> List[Variable]:
return []
def use_hooks_registrations(self) -> List[HookRegistration]:
return [
super().set_hook_registration(hook=HookType.H_FLEETMODE_SLIDESHOW_TOOLBAR_ACTIONS, priority=10)
]