Changeset 7626 in orxonox.OLD for branches/qt_gui
- Timestamp:
- May 16, 2006, 9:40:56 AM (19 years ago)
- Location:
- branches/qt_gui/src/lib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/qt_gui/src/lib/parser/ini_parser/ini_parser.cc
r7256 r7626 108 108 if( (stream = fopen (fileName.c_str(), "r")) == NULL) 109 109 { 110 PRINTF(1)("IniParser could not open %s \n", fileName.c_str());110 PRINTF(1)("IniParser could not open %s for reading\n", fileName.c_str()); 111 111 return false; 112 112 } … … 216 216 if( (stream = fopen (fileName.c_str(), "w")) == NULL) 217 217 { 218 PRINTF(1)("IniParser could not open %s \n", fileName.c_str());218 PRINTF(1)("IniParser could not open %s for writing\n", fileName.c_str()); 219 219 return false; 220 220 } -
branches/qt_gui/src/lib/parser/ini_parser/ini_parser.h
r7625 r7626 44 44 45 45 /** @returns true if the file is opened, false otherwise*/ 46 bool isOpen() const { return (!this->fileName.empty())? true : false; };46 bool isOpen() const { return true; } ///HACK //(this->fileName.empty()) ? false : true; }; 47 47 /** @returns the fileName we have opened. */ 48 48 const std::string& getFileName() const { return this->fileName; }; -
branches/qt_gui/src/lib/util/directory.h
r7625 r7626 60 60 }; 61 61 62 63 64 62 #endif /* __DIRECTORY_H_ */ 65 63 -
branches/qt_gui/src/lib/util/preferences.cc
r7256 r7626 314 314 { 315 315 std::list<std::string> lst; 316 316 317 317 std::list<prefSection>::const_iterator it = data.begin(); 318 318
Note: See TracChangeset
for help on using the changeset viewer.