diff options
author | Max Horn | 2009-01-23 03:41:36 +0000 |
---|---|---|
committer | Max Horn | 2009-01-23 03:41:36 +0000 |
commit | 8f16458e9ba830fe80f177cc2fc3bcf2af84ebef (patch) | |
tree | 36236e2af1589bca848ce28d7606ef6e789431e8 /backends/fs/symbian/symbian-fs.cpp | |
parent | e4b013f616818f6da4cf7a1896f31d1429ef8f04 (diff) | |
download | scummvm-rg350-8f16458e9ba830fe80f177cc2fc3bcf2af84ebef.tar.gz scummvm-rg350-8f16458e9ba830fe80f177cc2fc3bcf2af84ebef.tar.bz2 scummvm-rg350-8f16458e9ba830fe80f177cc2fc3bcf2af84ebef.zip |
Renamed FSNode::openForReading / openForWriting to createReadStream / createWriteStream, again to make ownership of the returned stream clear
svn-id: r36014
Diffstat (limited to 'backends/fs/symbian/symbian-fs.cpp')
-rw-r--r-- | backends/fs/symbian/symbian-fs.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/fs/symbian/symbian-fs.cpp b/backends/fs/symbian/symbian-fs.cpp index 3b57ac0356..edb44d9ba9 100644 --- a/backends/fs/symbian/symbian-fs.cpp +++ b/backends/fs/symbian/symbian-fs.cpp @@ -79,8 +79,8 @@ public: virtual bool getChildren(AbstractFSList &list, ListMode mode, bool hidden) const; virtual AbstractFSNode *getParent() const; - virtual Common::SeekableReadStream *openForReading(); - virtual Common::WriteStream *openForWriting(); + virtual Common::SeekableReadStream *createReadStream(); + virtual Common::WriteStream *createWriteStream(); }; /** @@ -252,11 +252,11 @@ AbstractFSNode *SymbianFilesystemNode::getParent() const { return p; } -Common::SeekableReadStream *SymbianFilesystemNode::openForReading() { +Common::SeekableReadStream *SymbianFilesystemNode::createReadStream() { return SymbianStdioStream::makeFromPath(getPath().c_str(), false); } -Common::WriteStream *SymbianFilesystemNode::openForWriting() { +Common::WriteStream *SymbianFilesystemNode::createWriteStream() { return SymbianStdioStream::makeFromPath(getPath().c_str(), true); } #endif //#if defined (__SYMBIAN32__) |