source: vendor/synergy/current/lib/arch/CArchDaemonNone.cpp

Last change on this file was 2749, checked in by bird, 19 years ago

synergy v1.3.1 sources (zip).

File size: 1.3 KB
Line 
1/*
2 * synergy -- mouse and keyboard sharing utility
3 * Copyright (C) 2002 Chris Schoeneman
4 *
5 * This package is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * found in the file COPYING that should have accompanied this file.
8 *
9 * This package is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 */
14
15#include "CArchDaemonNone.h"
16
17//
18// CArchDaemonNone
19//
20
21CArchDaemonNone::CArchDaemonNone()
22{
23 // do nothing
24}
25
26CArchDaemonNone::~CArchDaemonNone()
27{
28 // do nothing
29}
30
31void
32CArchDaemonNone::installDaemon(const char*,
33 const char*,
34 const char*,
35 const char*,
36 const char*,
37 bool)
38{
39 // do nothing
40}
41
42void
43CArchDaemonNone::uninstallDaemon(const char*, bool)
44{
45 // do nothing
46}
47
48int
49CArchDaemonNone::daemonize(const char* name, DaemonFunc func)
50{
51 // simply forward the call to func. obviously, this doesn't
52 // do any daemonizing.
53 return func(1, &name);
54}
55
56bool
57CArchDaemonNone::canInstallDaemon(const char*, bool)
58{
59 return false;
60}
61
62bool
63CArchDaemonNone::isDaemonInstalled(const char* name, bool allUsers)
64{
65 return false;
66}
Note: See TracBrowser for help on using the repository browser.