Deskflow 1.26.0.134
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
DaemonIpcServer.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 "IpcServer.h"
10
11#include <QObject>
12#include <QString>
13
14class QLocalSocket;
15
16namespace deskflow::core::ipc {
17
19{
20 Q_OBJECT
21
22public:
23 explicit DaemonIpcServer(QObject *parent, const QString &logFilename);
24
25private:
26 void processCommand(QLocalSocket *clientSocket, const QString &command, const QStringList &parts) override;
27 void processLogLevel(QLocalSocket *&clientSocket, const QStringList &messageParts);
28 void processElevate(QLocalSocket *&clientSocket, const QStringList &messageParts);
29 void processCommandMessage(QLocalSocket *&clientSocket, const QStringList &messageParts);
30
31private:
32 const QString m_logFilename;
33};
34
35} // namespace deskflow::core::ipc
DaemonIpcServer(QObject *parent, const QString &logFilename)
Definition DaemonIpcServer.cpp:19
IpcServer(QObject *parent, const QString &serverName, const QString &typeName)
Definition IpcServer.cpp:17
Definition DaemonApp.h:20