Move ServiceSwitcherFrame and ManuallySwitchServiceFrame to frames.py

This commit is contained in:
Paul Kompfner
2025-08-26 09:43:47 -04:00
parent 8b543e558d
commit dcb4949e20
2 changed files with 18 additions and 19 deletions

View File

@@ -1465,3 +1465,20 @@ class MixerEnableFrame(MixerControlFrame):
"""
enable: bool
@dataclass
class ServiceSwitcherFrame(ControlFrame):
"""A base class for frames that control ServiceSwitcher behavior."""
pass
@dataclass
class ManuallySwitchServiceFrame(ServiceSwitcherFrame):
"""A frame to request a manual switch in the active service in a ServiceSwitcher.
Handled by ServiceSwitcherStrategyManual to switch the active service.
"""
service: "FrameProcessor"