aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMarcus Comstedt2008-02-03 17:02:51 +0000
committerMarcus Comstedt2008-02-03 17:02:51 +0000
commit4c117772bd2dc6866b61d498848cf178a659218f (patch)
treebec5f9f1a2a7235696702ad6c7fbbf9ba7170246 /backends
parent9302491e82fe8a984afa7e79f0a552dd3c91c222 (diff)
downloadscummvm-rg350-4c117772bd2dc6866b61d498848cf178a659218f.tar.gz
scummvm-rg350-4c117772bd2dc6866b61d498848cf178a659218f.tar.bz2
scummvm-rg350-4c117772bd2dc6866b61d498848cf178a659218f.zip
Implement exists(), isReadable() and isWritable().
svn-id: r30773
Diffstat (limited to 'backends')
-rw-r--r--backends/fs/dc/dc-fs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/fs/dc/dc-fs.cpp b/backends/fs/dc/dc-fs.cpp
index 88eae128d3..16b77857c0 100644
--- a/backends/fs/dc/dc-fs.cpp
+++ b/backends/fs/dc/dc-fs.cpp
@@ -56,13 +56,13 @@ public:
*/
RoninCDFilesystemNode(const String &path, bool verify);
- virtual bool exists() const { return true; } //FIXME: this is just a stub
+ virtual bool exists() const { return _isValid; }
virtual String getDisplayName() const { return _displayName; }
virtual String getName() const { return _displayName; }
virtual String getPath() const { return _path; }
virtual bool isDirectory() const { return _isDirectory; }
- virtual bool isReadable() const { return true; } //FIXME: this is just a stub
- virtual bool isWritable() const { return true; } //FIXME: this is just a stub
+ virtual bool isReadable() const { return true; }
+ virtual bool isWritable() const { return false; }
virtual AbstractFilesystemNode *getChild(const String &n) const;
virtual bool getChildren(AbstractFSList &list, ListMode mode, bool hidden) const;