diff options
author | Max Horn | 2008-09-03 12:56:46 +0000 |
---|---|---|
committer | Max Horn | 2008-09-03 12:56:46 +0000 |
commit | 7f18aaf8ec92a7ec7cd837db92b93dfada87eef3 (patch) | |
tree | e1510dfc5cd2b50b0d77c5a384307174687c4116 /backends/fs/ds/ds-fs.h | |
parent | 320a5dc99fa416d63a5fb8ec63c07463c80dc633 (diff) | |
download | scummvm-rg350-7f18aaf8ec92a7ec7cd837db92b93dfada87eef3.tar.gz scummvm-rg350-7f18aaf8ec92a7ec7cd837db92b93dfada87eef3.tar.bz2 scummvm-rg350-7f18aaf8ec92a7ec7cd837db92b93dfada87eef3.zip |
Pushed AbstractFilesystemNode::openForReading() / openForWriting() impls out to backends
svn-id: r34304
Diffstat (limited to 'backends/fs/ds/ds-fs.h')
-rw-r--r-- | backends/fs/ds/ds-fs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/fs/ds/ds-fs.h b/backends/fs/ds/ds-fs.h index 2856ec4903..2c1924a2fb 100644 --- a/backends/fs/ds/ds-fs.h +++ b/backends/fs/ds/ds-fs.h @@ -90,6 +90,9 @@ public: virtual bool getChildren(AbstractFSList &list, ListMode mode, bool hidden) const; virtual AbstractFilesystemNode *getParent() const; + virtual Common::SeekableReadStream *openForReading(); + virtual Common::WriteStream *openForWriting(); + /** * Returns the zip file this node points to. * TODO: check this documentation. @@ -151,6 +154,9 @@ public: virtual AbstractFilesystemNode *getChild(const Common::String& name) const; virtual bool getChildren(AbstractFSList &list, ListMode mode, bool hidden) const; virtual AbstractFilesystemNode *getParent() const; + + virtual Common::SeekableReadStream *openForReading(); + virtual Common::WriteStream *openForWriting(); }; struct fileHandle { |