Source code for pyqt_reactive.services.manager_host_abc

"""Nominal host contract for manager service integrations."""
from __future__ import annotations

from abc import ABC, abstractmethod


[docs] class ManagerHostABC(ABC): """Base callback contract for manager-hosted services."""
[docs] @abstractmethod def update_item_list(self) -> None: """Refresh visible list/tree content."""
[docs] @abstractmethod def update_button_states(self) -> None: """Refresh button enabled/disabled state."""
[docs] @abstractmethod def emit_status(self, message: str) -> None: """Emit status text for UI presentation."""