aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/gp32
diff options
context:
space:
mode:
authorJohannes Schickel2006-07-22 17:01:50 +0000
committerJohannes Schickel2006-07-22 17:01:50 +0000
commit63aec29edb3e6065e5b167058247fa4cc39adef7 (patch)
tree35721f7221bf15e0a420d7fc75b432d4250e917d /backends/fs/gp32
parentc59e7ece0a825a75ab639edff3081465ef6b94fc (diff)
downloadscummvm-rg350-63aec29edb3e6065e5b167058247fa4cc39adef7.tar.gz
scummvm-rg350-63aec29edb3e6065e5b167058247fa4cc39adef7.tar.bz2
scummvm-rg350-63aec29edb3e6065e5b167058247fa4cc39adef7.zip
Added isValid to FilesystemNode and AbstractFilesystemNode. See my mail to -devel for more information.
svn-id: r23567
Diffstat (limited to 'backends/fs/gp32')
-rw-r--r--backends/fs/gp32/gp32-fs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/fs/gp32/gp32-fs.cpp b/backends/fs/gp32/gp32-fs.cpp
index 4d242d339f..c94460d727 100644
--- a/backends/fs/gp32/gp32-fs.cpp
+++ b/backends/fs/gp32/gp32-fs.cpp
@@ -40,6 +40,8 @@ public:
virtual String displayName() const { return _displayName; }
virtual String name() const { return _displayName; }
+ // FIXME: isValid should return false if this Node can't be used!
+ // client code can rely on the return value.
virtual bool isValid() const { return true; }
virtual bool isDirectory() const { return _isDirectory; }
virtual String path() const { return _path; }