aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/abstract-fs.h
diff options
context:
space:
mode:
authorMax Horn2009-01-23 03:41:36 +0000
committerMax Horn2009-01-23 03:41:36 +0000
commit8f16458e9ba830fe80f177cc2fc3bcf2af84ebef (patch)
tree36236e2af1589bca848ce28d7606ef6e789431e8 /backends/fs/abstract-fs.h
parente4b013f616818f6da4cf7a1896f31d1429ef8f04 (diff)
downloadscummvm-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/abstract-fs.h')
-rw-r--r--backends/fs/abstract-fs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/fs/abstract-fs.h b/backends/fs/abstract-fs.h
index 68478ea8a4..604d6e2000 100644
--- a/backends/fs/abstract-fs.h
+++ b/backends/fs/abstract-fs.h
@@ -52,7 +52,7 @@ protected:
* When called with a name not matching any of the files/dirs contained in this
* directory, a valid node shold be returned, which returns 'false' upon calling
* the exists() method. The idea is that this node can then still can be used to
- * create a new file via the openForWriting() method.
+ * create a new file via the createWriteStream() method.
*
* Example:
* Calling getChild() for a node with path "/foo/bar" using name="file.txt",
@@ -169,7 +169,7 @@ public:
*
* @return pointer to the stream object, 0 in case of a failure
*/
- virtual Common::SeekableReadStream *openForReading() = 0;
+ virtual Common::SeekableReadStream *createReadStream() = 0;
/**
* Creates a WriteStream instance corresponding to the file
@@ -178,7 +178,7 @@ public:
*
* @return pointer to the stream object, 0 in case of a failure
*/
- virtual Common::WriteStream *openForWriting() = 0;
+ virtual Common::WriteStream *createWriteStream() = 0;
};