Add requires_capture_bus attribute to BaseModule and passive modules
- BaseModule now has requires_capture_bus = False default - All 17 passive modules set requires_capture_bus = True - bigbrother.py imports CaptureBus from core.capture_bus - Ready for Engine to instantiate and inject CaptureBus
This commit is contained in:
@@ -15,6 +15,7 @@ class BaseModule(ABC):
|
||||
priority: int = 100 # OOM priority (lower = more important)
|
||||
dependencies: list = [] # Module names that must be running first
|
||||
requires_root: bool = False
|
||||
requires_capture_bus: bool = False
|
||||
|
||||
def __init__(self, bus, state, config, engine=None):
|
||||
self.bus = bus
|
||||
|
||||
Reference in New Issue
Block a user