chore: remove Cpp file for ArchDaemonNone
This commit is contained in:
parent
4be0dd3d9d
commit
e108afdb80
3 changed files with 11 additions and 28 deletions
|
|
@ -1,25 +0,0 @@
|
||||||
/*
|
|
||||||
* Deskflow -- mouse and keyboard sharing utility
|
|
||||||
* SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
|
|
||||||
* SPDX-FileCopyrightText: (C) 2002 Chris Schoeneman
|
|
||||||
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "arch/ArchDaemonNone.h"
|
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
//
|
|
||||||
// ArchDaemonNone
|
|
||||||
//
|
|
||||||
|
|
||||||
int ArchDaemonNone::daemonize(DaemonFunc const &func)
|
|
||||||
{
|
|
||||||
// simply forward the call to func. obviously, this doesn't
|
|
||||||
// do any daemonizing.
|
|
||||||
return func();
|
|
||||||
}
|
|
||||||
|
|
||||||
QString ArchDaemonNone::commandLine() const
|
|
||||||
{
|
|
||||||
return {};
|
|
||||||
}
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* Deskflow -- mouse and keyboard sharing utility
|
* Deskflow -- mouse and keyboard sharing utility
|
||||||
|
* SPDX-FileCopyrightText: (C) 2025 Deskflow Developers.
|
||||||
* SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
|
* SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
|
||||||
* SPDX-FileCopyrightText: (C) 2002 Chris Schoeneman
|
* SPDX-FileCopyrightText: (C) 2002 Chris Schoeneman
|
||||||
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
|
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
|
||||||
|
|
@ -24,6 +25,14 @@ public:
|
||||||
~ArchDaemonNone() override = default;
|
~ArchDaemonNone() override = default;
|
||||||
|
|
||||||
// IArchDaemon overrides
|
// IArchDaemon overrides
|
||||||
int daemonize(DaemonFunc const &func) override;
|
int daemonize(DaemonFunc const &func) override
|
||||||
QString commandLine() const override;
|
{
|
||||||
|
// simply forward the call to func. obviously, this doesn't
|
||||||
|
// do any daemonizing.
|
||||||
|
return func();
|
||||||
|
}
|
||||||
|
QString commandLine() const override
|
||||||
|
{
|
||||||
|
return {};
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,6 @@ endif()
|
||||||
add_library(arch STATIC ${PLATFORM_CODE}
|
add_library(arch STATIC ${PLATFORM_CODE}
|
||||||
Arch.cpp
|
Arch.cpp
|
||||||
Arch.h
|
Arch.h
|
||||||
ArchDaemonNone.cpp
|
|
||||||
ArchDaemonNone.h
|
ArchDaemonNone.h
|
||||||
ArchException.h
|
ArchException.h
|
||||||
IArchDaemon.h
|
IArchDaemon.h
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue