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 |
|
---|
21 | CArchDaemonNone::CArchDaemonNone()
|
---|
22 | {
|
---|
23 | // do nothing
|
---|
24 | }
|
---|
25 |
|
---|
26 | CArchDaemonNone::~CArchDaemonNone()
|
---|
27 | {
|
---|
28 | // do nothing
|
---|
29 | }
|
---|
30 |
|
---|
31 | void
|
---|
32 | CArchDaemonNone::installDaemon(const char*,
|
---|
33 | const char*,
|
---|
34 | const char*,
|
---|
35 | const char*,
|
---|
36 | const char*,
|
---|
37 | bool)
|
---|
38 | {
|
---|
39 | // do nothing
|
---|
40 | }
|
---|
41 |
|
---|
42 | void
|
---|
43 | CArchDaemonNone::uninstallDaemon(const char*, bool)
|
---|
44 | {
|
---|
45 | // do nothing
|
---|
46 | }
|
---|
47 |
|
---|
48 | int
|
---|
49 | CArchDaemonNone::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 |
|
---|
56 | bool
|
---|
57 | CArchDaemonNone::canInstallDaemon(const char*, bool)
|
---|
58 | {
|
---|
59 | return false;
|
---|
60 | }
|
---|
61 |
|
---|
62 | bool
|
---|
63 | CArchDaemonNone::isDaemonInstalled(const char* name, bool allUsers)
|
---|
64 | {
|
---|
65 | return false;
|
---|
66 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.