55 lines
1019 B
C++
55 lines
1019 B
C++
/*
|
|
* 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"
|
|
|
|
//
|
|
// ArchDaemonNone
|
|
//
|
|
|
|
void ArchDaemonNone::installDaemon(const char *, const char *, const char *, const char *, const char *)
|
|
{
|
|
// do nothing
|
|
}
|
|
|
|
void ArchDaemonNone::uninstallDaemon(const char *)
|
|
{
|
|
// do nothing
|
|
}
|
|
|
|
int ArchDaemonNone::daemonize(const char *name, DaemonFunc const &func)
|
|
{
|
|
// simply forward the call to func. obviously, this doesn't
|
|
// do any daemonizing.
|
|
return func(1, &name);
|
|
}
|
|
|
|
bool ArchDaemonNone::canInstallDaemon(const char *)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
bool ArchDaemonNone::isDaemonInstalled(const char *)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
void ArchDaemonNone::installDaemon()
|
|
{
|
|
// do nothing
|
|
}
|
|
|
|
void ArchDaemonNone::uninstallDaemon()
|
|
{
|
|
// do nothing
|
|
}
|
|
|
|
std::string ArchDaemonNone::commandLine() const
|
|
{
|
|
return "";
|
|
}
|