- Timestamp:
- Mar 24, 2006, 10:52:18 AM (19 years ago)
- Location:
- branches/preferences
- Files:
-
- 4 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/preferences/configure.ac
r7235 r7241 646 646 src/lib/parser/tinyxml/Makefile 647 647 src/lib/parser/ini_parser/Makefile 648 src/lib/parser/cmdline_parser/Makefile 648 649 src/lib/parser/preferences/Makefile 649 650 src/util/Makefile -
branches/preferences/src/lib/BuildLibs.am
r7236 r7241 16 16 $(LIB_PREFIX)/parser/tinyxml/libtinyxml.a \ 17 17 $(LIB_PREFIX)/parser/ini_parser/libIniParser.a \ 18 $(LIB_PREFIX)/parser/cmdline_parser/libCmdLineParser.a \ 18 19 $(LIB_PREFIX)/parser/preferences/libPrefsParser.a \ 19 20 $(LIB_PREFIX)/shell/libORXshell.a \ -
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 }; -
branches/preferences/src/orxonox.cc
r7236 r7241 403 403 int main(int argc, char** argv) 404 404 { 405 CmdLinePrefsReader prefs(argc, argv); 405 CmdLinePrefsReader prefs; 406 prefs.parse(argc, argv); 406 407 407 408 int i;
Note: See TracChangeset
for help on using the changeset viewer.