00001 #ifndef EMPTY_SERVICE_CLASS 00002 #define EMPTY_SERVICE_CLASS 00003 00004 /*****************************************************************************\ 00005 * * 00006 * Name : empty_service * 00007 * Author : Chris Koeritz * 00008 * * 00009 * Purpose: * 00010 * * 00011 * Implements the responsibilities of the null service, which is basically * 00012 * that the service can be installed and used to test for success of a * 00013 * particular user/password combo for security. * 00014 * * 00015 ******************************************************************************* 00016 * Copyright (c) 2001-$now By Author. This program is free software; you can * 00017 * redistribute it and/or modify it under the terms of the GNU General Public * 00018 * License as published by the Free Software Foundation; either version 2 of * 00019 * the License or (at your option) any later version. This is online at: * 00020 * http://www.fsf.org/copyleft/gpl.html * 00021 * Please send any updates to: fred@gruntose.com * 00022 \*****************************************************************************/ 00023 00024 #include <service_ext/service_root.h> 00025 00026 class empty_service : public service_root 00027 { 00028 public: 00029 empty_service(); 00030 virtual ~empty_service(); 00031 00032 IMPLEMENT_CLASS_NAME("empty_service"); 00033 00034 virtual void perform_service(int argc, char **argv); 00035 // the entry point into the service. 00036 }; 00037 00038 #endif 00039
1.5.1