Rudiments
|
00001 // Copyright (c) 1999-2002 David Muse 00002 // See the COPYING file for more information. 00003 00004 #ifndef RUDIMENTS_COMMANDLINE_H 00005 #define RUDIMENTS_COMMANDLINE_H 00006 00007 #include <rudiments/private/commandlineincludes.h> 00008 00009 #ifdef RUDIMENTS_NAMESPACE 00010 namespace rudiments { 00011 #endif 00012 00013 class commandlineprivate; 00014 00017 class RUDIMENTS_DLLSPEC commandline { 00018 public: 00019 00021 commandline(int32_t argc, const char **argv); 00022 00024 ~commandline(); 00025 00034 const char *getValue(const char *arg) const; 00035 00043 bool found(const char *arg) const; 00044 00045 #include <rudiments/private/commandline.h> 00046 00047 }; 00048 00049 #ifdef RUDIMENTS_NAMESPACE 00050 } 00051 #endif 00052 00053 #endif