Deskflow
1.26.0.418
Keyboard and mouse sharing utility
Toggle main menu visibility
Loading...
Searching...
No Matches
IArchDaemon.h
Go to the documentation of this file.
1
/*
2
* Deskflow -- mouse and keyboard sharing utility
3
* SPDX-FileCopyrightText: (C) 2025 - 2026 Deskflow Developers
4
* SPDX-FileCopyrightText: (C) 2012 - 2016 Synergy App Ltd
5
* SPDX-FileCopyrightText: (C) 2002 Chris Schoeneman
6
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
7
*/
8
9
#pragma once
10
11
#include <QString>
12
#include <functional>
13
15
20
class
IArchDaemon
21
{
22
public
:
23
using
DaemonFunc
= std::function<int()>;
24
25
virtual
~IArchDaemon
() =
default
;
27
28
30
56
virtual
int
daemonize
(
DaemonFunc
const
&func) = 0;
57
59
61
64
virtual
QString
commandLine
()
const
= 0;
65
67
};
IArchDaemon
Interface for architecture dependent daemonizing.
Definition
IArchDaemon.h:21
IArchDaemon::DaemonFunc
std::function< int()> DaemonFunc
Definition
IArchDaemon.h:23
IArchDaemon::daemonize
virtual int daemonize(DaemonFunc const &func)=0
Daemonize the process.
IArchDaemon::commandLine
virtual QString commandLine() const =0
Get the command line.
IArchDaemon::~IArchDaemon
virtual ~IArchDaemon()=default
src
lib
arch
IArchDaemon.h
Generated by
1.18.0