• Main Page
  • Classes
  • Files
  • File List

CArchDaemonNone.h

00001 /*
00002  * synergy -- mouse and keyboard sharing utility
00003  * Copyright (C) 2012 Bolton Software Ltd.
00004  * Copyright (C) 2002 Chris Schoeneman
00005  * 
00006  * This package is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU General Public License
00008  * found in the file COPYING that should have accompanied this file.
00009  * 
00010  * This package is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00017  */
00018 
00019 #ifndef CARCHDAEMONNONE_H
00020 #define CARCHDAEMONNONE_H
00021 
00022 #include "IArchDaemon.h"
00023 
00024 #define ARCH_DAEMON CArchDaemonNone
00025 
00027 
00033 class CArchDaemonNone : public IArchDaemon {
00034 public:
00035     CArchDaemonNone();
00036     virtual ~CArchDaemonNone();
00037 
00038     // IArchDaemon overrides
00039     virtual void        installDaemon(const char* name,
00040                             const char* description,
00041                             const char* pathname,
00042                             const char* commandLine,
00043                             const char* dependencies,
00044                             bool allUsers);
00045     virtual void        uninstallDaemon(const char* name, bool allUsers);
00046     virtual int         daemonize(const char* name, DaemonFunc func);
00047     virtual bool        canInstallDaemon(const char* name, bool allUsers);
00048     virtual bool        isDaemonInstalled(const char* name, bool allUsers);
00049     virtual void        installDaemon();
00050     virtual void        uninstallDaemon();
00051     virtual std::string commandLine() const;
00052 };
00053 
00054 #endif

Generated on Mon May 20 2013 00:00:04 for Synergy by  doxygen 1.7.1