Deskflow 1.26.0.134
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
DaemonIpcClient.h
Go to the documentation of this file.
1/*
2 * Deskflow -- mouse and keyboard sharing utility
3 * SPDX-FileCopyrightText: (C) 2025-2026 Symless Ltd.
4 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
5 */
6
7#pragma once
8
9#include "IpcClient.h"
10
11#include <QObject>
12
13namespace deskflow::gui::ipc {
14
16{
17 Q_OBJECT
18
19public:
20 explicit DaemonIpcClient(QObject *parent = nullptr);
21 void sendLogLevel(const QString &logLevel);
22 void sendStartProcess(const QString &command, bool elevate);
23 void sendStopProcess();
24 void sendClearSettings();
25 void requestLogPath();
26
27Q_SIGNALS:
28 void logPathReceived(const QString &logPath);
29
30protected:
31 void processCommand(const QString &command, const QStringList &parts) override;
32};
33
34} // namespace deskflow::gui::ipc
void sendLogLevel(const QString &logLevel)
Definition DaemonIpcClient.cpp:19
DaemonIpcClient(QObject *parent=nullptr)
Definition DaemonIpcClient.cpp:15
void sendStopProcess()
Definition DaemonIpcClient.cpp:32
void requestLogPath()
Definition DaemonIpcClient.cpp:42
void logPathReceived(const QString &logPath)
void sendStartProcess(const QString &command, bool elevate)
Definition DaemonIpcClient.cpp:24
void sendClearSettings()
Definition DaemonIpcClient.cpp:37
void processCommand(const QString &command, const QStringList &parts) override
Definition DaemonIpcClient.cpp:47
IpcClient(QObject *parent, const QString &socketName, const QString &typeName)
Definition IpcClient.cpp:17
Definition CoreProcess.h:22