00001 #ifndef SIMPLE_SERVICE_CLASS 00002 #define SIMPLE_SERVICE_CLASS 00003 00004 /*****************************************************************************\ 00005 * * 00006 * Name : simple_service * 00007 * Author : Chris Koeritz * 00008 * * 00009 * Purpose: * 00010 * * 00011 * A simple example service implementing a cromp server. * 00012 * * 00013 ******************************************************************************* 00014 * Copyright (c) 2000-$now By Author. This program is free software; you can * 00015 * redistribute it and/or modify it under the terms of the GNU General Public * 00016 * License as published by the Free Software Foundation; either version 2 of * 00017 * the License or (at your option) any later version. This is online at: * 00018 * http://www.fsf.org/copyleft/gpl.html * 00019 * Please send any updates to: fred@gruntose.com * 00020 \*****************************************************************************/ 00021 00022 #include <basis/portable.h> 00023 #include <service_ext/service_root.h> 00024 00025 class simple_service : public service_root 00026 { 00027 public: 00028 simple_service(); 00029 virtual ~simple_service(); 00030 00031 virtual void perform_service(int argc, char **argv); 00032 00033 private: 00034 //hmmm: cromp server type goes here. 00035 00036 }; 00037 00038 #endif 00039
1.5.1