Changeset 7236 in orxonox.OLD for branches/preferences/src/lib/parser
- Timestamp:
- Mar 21, 2006, 4:13:56 PM (19 years ago)
- Location:
- branches/preferences/src/lib/parser/preferences
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/preferences/src/lib/parser/preferences/ini_file_prefs_reader.cc
r7234 r7236 24 24 * standard constructor 25 25 */ 26 IniFilePrefsReader::IniFilePrefsReader ( const char *fileName )26 IniFilePrefsReader::IniFilePrefsReader ( const std::string& fileName ) 27 27 { 28 28 IniParser iniParser; … … 41 41 prefs->setString( iniParser.getCurrentSection(), iniParser.getCurrentName(), iniParser.getCurrentValue(), true ); 42 42 } while (iniParser.nextVar()); 43 } while ( iniParser.nextSection()!=NULL);43 } while ( iniParser.nextSection() != "" ); 44 44 45 45 /*iniParser.firstVar(); -
branches/preferences/src/lib/parser/preferences/ini_file_prefs_reader.h
r7234 r7236 15 15 16 16 public: 17 IniFilePrefsReader(const char*fileName);17 IniFilePrefsReader(const std::string& fileName); 18 18 virtual ~IniFilePrefsReader(); 19 19
Note: See TracChangeset
for help on using the changeset viewer.