35 QObject *parent =
nullptr);
61 bool
start(QString *errorMessage =
nullptr);
69 void onNewConnection();
70 void onSocketReadyRead();
73 [[nodiscard]] QByteArray handleRequest(const QByteArray &payload) const;
82 QLocalServer *m_server =
nullptr;
Serves daemon status and config requests over a local socket.
DaemonControlServer(QString configPath, AppConfig config, const MutterkeyService *service, QString socketName, QObject *parent)
Creates the local control server for a running daemon on a custom socket name.
void stop()
Stops listening and removes the local socket endpoint.
~DaemonControlServer() override
Stops the local server and releases the socket name.
bool start(QString *errorMessage=nullptr)
Starts listening on the local daemon control socket.
DaemonControlServer(QString configPath, AppConfig config, const MutterkeyService *service, QObject *parent=nullptr)
Creates the local control server for a running daemon.
Coordinates the daemon-mode push-to-talk workflow.
Runtime configuration types, defaults, and JSON loading entrypoints.
Local daemon control protocol types and JSON serialization helpers.
Typed daemon-control payloads used above the transport layer.
Background service that wires hotkey, audio capture, transcription, and clipboard delivery together.
Top-level runtime configuration snapshot.
Daemon-owned config snapshot for tray and CLI clients.
Daemon-owned runtime status snapshot for tray and CLI clients.