CArchDaemonNone.cpp

00001 /*
00002  * synergy -- mouse and keyboard sharing utility
00003  * Copyright (C) 2002 Chris Schoeneman
00004  * 
00005  * This package is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU General Public License
00007  * found in the file COPYING that should have accompanied this file.
00008  * 
00009  * This package is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  */
00014 
00015 #include "CArchDaemonNone.h"
00016 
00017 //
00018 // CArchDaemonNone
00019 //
00020 
00021 CArchDaemonNone::CArchDaemonNone()
00022 {
00023     // do nothing
00024 }
00025 
00026 CArchDaemonNone::~CArchDaemonNone()
00027 {
00028     // do nothing
00029 }
00030 
00031 void
00032 CArchDaemonNone::installDaemon(const char*,
00033                 const char*,
00034                 const char*,
00035                 const char*,
00036                 const char*,
00037                 bool)
00038 {
00039     // do nothing
00040 }
00041 
00042 void
00043 CArchDaemonNone::uninstallDaemon(const char*, bool)
00044 {
00045     // do nothing
00046 }
00047 
00048 int
00049 CArchDaemonNone::daemonize(const char* name, DaemonFunc func)
00050 {
00051     // simply forward the call to func.  obviously, this doesn't
00052     // do any daemonizing.
00053     return func(1, &name);
00054 }
00055 
00056 bool
00057 CArchDaemonNone::canInstallDaemon(const char*, bool)
00058 {
00059     return false;
00060 }
00061 
00062 bool
00063 CArchDaemonNone::isDaemonInstalled(const char*, bool)
00064 {
00065     return false;
00066 }

Generated on Fri Nov 6 00:18:44 2009 for synergy-plus by  doxygen 1.4.7