simple_client.cpp

Go to the documentation of this file.
00001 /*****************************************************************************\
00002 *                                                                             *
00003 *  Name   : simple_client                                                     *
00004 *  Author : Chris Koeritz                                                     *
00005 *                                                                             *
00006 *  Purpose:                                                                   *
00007 *                                                                             *
00008 *    Demonstrates that the simpleton service is working properly.             *
00009 *                                                                             *
00010 *******************************************************************************
00011 * Copyright (c) 2000-$now By Author.  This program is free software; you can  *
00012 * redistribute it and/or modify it under the terms of the GNU General Public  *
00013 * License as published by the Free Software Foundation; either version 2 of   *
00014 * the License or (at your option) any later version.  This is online at:      *
00015 *     http://www.fsf.org/copyleft/gpl.html                                    *
00016 * Please send any updates to: fred@gruntose.com                               *
00017 \*****************************************************************************/
00018 
00019 #include <basis/object_base.h>
00020 #include <basis/istring.h>
00021 #include <opsystem/application_shell.h>
00022 #include <loggers/console_logger.h>
00023 #include <data_struct/static_memory_gremlin.h>
00024 
00025 class simple_client : public application_shell
00026 {
00027 public:
00028   simple_client() : application_shell(static_class_name()) {}
00029 
00030   IMPLEMENT_CLASS_NAME("simple_client");
00031 
00032   int instruct();
00033 
00034   int execute();
00035 
00036 private:
00037   
00038 };
00039 
00040 int simple_client::instruct()
00041 {
00042   program_wide_logger().log("usage: simple_client uhhhh not done yet");
00043   return 1;
00044 }
00045 
00046 int simple_client::execute()
00047 {
00048   SET_DEFAULT_CONSOLE_LOGGER;
00049 
00050 //insert implem here.
00051 
00052   return 0;
00053 }
00054 
00055 HOOPLE_MAIN(simple_client, )
00056 

Generated on Fri Nov 28 04:29:40 2008 for HOOPLE Libraries by  doxygen 1.5.1