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/palmos/palmos-fs.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'backends/fs/palmos') diff --git a/backends/fs/palmos/palmos-fs.cpp b/backends/fs/palmos/palmos-fs.cpp index b828213817..e8b924e1fc 100644 --- a/backends/fs/palmos/palmos-fs.cpp +++ b/backends/fs/palmos/palmos-fs.cpp @@ -68,8 +68,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(); private: /** @@ -208,11 +208,11 @@ AbstractFSNode *PalmOSFilesystemNode::getParent() const { return p; } -Common::SeekableReadStream *PalmOSFilesystemNode::openForReading() { +Common::SeekableReadStream *PalmOSFilesystemNode::createReadStream() { return StdioStream::makeFromPath(getPath().c_str(), false); } -Common::WriteStream *PalmOSFilesystemNode::openForWriting() { +Common::WriteStream *PalmOSFilesystemNode::createWriteStream() { return StdioStream::makeFromPath(getPath().c_str(), true); } -- cgit v1.2.3