general/arguments.h

Go to the documentation of this file.
00001 /* $Id:arguments.h jjs $ */
00002 /*
00003    Copyright (C) 2007 by Jurjen Stellingwerff <jurjen@stwerff.xs4all.nl>
00004    Part of the Moros Project http://moros.sourceforge.net/
00005 
00006    This program is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU General Public License.
00008    This program is distributed in the hope that it will be useful,
00009    but WITHOUT ANY WARRANTY.
00010 
00011    See the COPYING file for more details.
00012 */
00013 
00014 #include <sigc++/signal.h>
00015 
00017 #define ARG_PROGRAM "=program"
00018 
00020 #define ARG_USAGE "=usage"
00021 
00023 #define ARG_DESCR "=descr"
00024 
00026 #define ARG_EXAMPLE "=example"
00027 
00029 #define ARG_BUGS "=bugs"
00030 
00032 #define ARG_VERSION "=version"
00033 
00035 #define ARG_DATE "=date"
00036 
00038 #define ARG_COPYRIGHT "=copyright"
00039 
00041 
00043 void arg_add(
00044     std::string arg,    
00045     std::string param,  
00046     std::string group,  
00047     std::string text,   
00048     sigc::signal<void, std::string> handler   
00049 );
00050 
00052 void arg_extra(
00053     std::string arg,    
00054     std::string param   
00055 );
00056 
00058 
00060 void arg_parse(
00061     int args,           
00062     char *argv[]        
00063 );


Generated on Tue Jan 1 17:30:00 2008 for general/arguments.h Source File by  doxygen   Visit the project page on SourceForge.net Logo