Newton_Editor/src/core/mixins/signals/ipc_signals_mixin.py

18 lines
387 B
Python

# Python imports
# Lib imports
# Application imports
class IPCSignalsMixin:
""" IPCSignalsMixin handle messages from another starting solarfm process. """
def print_to_console(self, message=None):
print(message)
def handle_file_from_ipc(self, path: any) -> None:
logger.debug(f"Path From IPC: {path}")
event_system.emit("create_view", (path,))