2025-02-06 11:22:47 +00:00
|
|
|
/*
|
|
|
|
|
* Deskflow -- mouse and keyboard sharing utility
|
2025-12-05 16:31:30 +00:00
|
|
|
* SPDX-FileCopyrightText: (C) 2025-2026 Symless Ltd.
|
2025-02-06 11:22:47 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2025-12-05 16:31:30 +00:00
|
|
|
#include "IpcClient.h"
|
2025-02-06 11:22:47 +00:00
|
|
|
|
2025-12-05 16:31:30 +00:00
|
|
|
#include <QObject>
|
2025-02-06 11:22:47 +00:00
|
|
|
|
2025-02-06 12:03:51 +00:00
|
|
|
namespace deskflow::gui::ipc {
|
2025-02-06 11:22:47 +00:00
|
|
|
|
2025-12-05 16:31:30 +00:00
|
|
|
class DaemonIpcClient : public IpcClient
|
2025-02-06 11:22:47 +00:00
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
2025-02-07 17:02:20 +00:00
|
|
|
explicit DaemonIpcClient(QObject *parent = nullptr);
|
|
|
|
|
bool sendLogLevel(const QString &logLevel);
|
2025-04-02 22:00:06 +00:00
|
|
|
bool sendStartProcess(const QString &command, bool elevate);
|
2025-02-10 11:22:04 +00:00
|
|
|
bool sendStopProcess();
|
2025-03-03 18:01:32 +00:00
|
|
|
bool sendClearSettings();
|
2025-02-10 12:58:23 +00:00
|
|
|
QString requestLogPath();
|
2025-02-06 11:22:47 +00:00
|
|
|
};
|
|
|
|
|
|
2025-02-06 12:03:51 +00:00
|
|
|
} // namespace deskflow::gui::ipc
|