From 8f16458e9ba830fe80f177cc2fc3bcf2af84ebef Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 23 Jan 2009 03:41:36 +0000 Subject: Renamed FSNode::openForReading / openForWriting to createReadStream / createWriteStream, again to make ownership of the returned stream clear svn-id: r36014 --- backends/fs/abstract-fs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'backends/fs/abstract-fs.h') 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; }; -- cgit v1.2.3