Renamed FSNode::openForReading / openForWriting to createReadStream / createWriteStream, again to make ownership of the returned stream clear

svn-id: r36014
This commit is contained in:
Max Horn 2009-01-23 03:41:36 +00:00
parent e4b013f616
commit 8f16458e9b
30 changed files with 85 additions and 85 deletions

View file

@ -386,12 +386,12 @@ static Common::String getDefaultConfigFileName() {
Common::SeekableReadStream *OSystem_SDL::createConfigReadStream() {
Common::FSNode file(getDefaultConfigFileName());
return file.openForReading();
return file.createReadStream();
}
Common::WriteStream *OSystem_SDL::createConfigWriteStream() {
Common::FSNode file(getDefaultConfigFileName());
return file.openForWriting();
return file.createWriteStream();
}
void OSystem_SDL::setWindowCaption(const char *caption) {