Changeset 7241 in orxonox.OLD for branches/preferences/src/lib/parser
- Timestamp:
- Mar 24, 2006, 10:52:18 AM (19 years ago)
- Location:
- branches/preferences/src/lib/parser
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/preferences/src/lib/parser/Makefile.am
r7234 r7241 1 1 SUBDIRS = \ 2 2 tinyxml \ 3 ini_parser \ 4 preferences 3 ini_parser \ 4 preferences \ 5 cmdline_parser 5 6 6 7 -
branches/preferences/src/lib/parser/preferences/cmd_line_prefs_reader.cc
r7234 r7241 23 23 * standard constructor 24 24 */ 25 CmdLinePrefsReader::CmdLinePrefsReader( int argc, char** argv)25 CmdLinePrefsReader::CmdLinePrefsReader( ) 26 26 { 27 27 … … 36 36 } 37 37 38 bool CmdLinePrefsReader::callBack( ArgTableEntry entry, void * data, const std::string & arg, const std::vector< std::string > & argArgs ) 39 { 40 } 38 41 42 bool CmdLinePrefsReader::parse( int argc, char ** argv ) 43 { 44 CmdLineParser parser; 45 } 46 47 -
branches/preferences/src/lib/parser/preferences/cmd_line_prefs_reader.h
r7234 r7241 10 10 #include "debug.h" 11 11 12 #include "src/lib/parser/cmdline_parser/cmdline_parser.h" 13 12 14 //! A class for reading commandline arguments into Preferences 13 class CmdLinePrefsReader { 15 class CmdLinePrefsReader 16 { 14 17 15 18 public: 16 CmdLinePrefsReader( int argc, char** argv);19 CmdLinePrefsReader(); 17 20 virtual ~CmdLinePrefsReader(); 18 21 22 bool parse(int argc, char** argv); 23 24 private: 25 static bool callBack( ArgTableEntry entry, void* data, const std::string & arg, const std::vector<std::string> & argArgs ); 19 26 20 27 };
Note: See TracChangeset
for help on using the changeset viewer.