Created libs.code package and moved pertinant DTOs to it as well as widget.code that can go there too

This commit is contained in:
2026-01-13 11:23:26 -06:00
parent 4469e8189f
commit f7d944f7a9
44 changed files with 41 additions and 33 deletions

View File

@@ -0,0 +1,19 @@
# Python imports
# Lib imports
# Application imports
from ..event_factory import Event_Factory_Types
class EmitDispatcher:
def __init__(self):
super(EmitDispatcher, self).__init__()
def emit(self, event: Event_Factory_Types.CodeEvent):
self.message_all(event)
def emit_to(self, controller: str, event: Event_Factory_Types.CodeEvent):
self.message_to(controller, event)