aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/posix
diff options
context:
space:
mode:
authorDavid Corrales2007-06-16 17:31:36 +0000
committerDavid Corrales2007-06-16 17:31:36 +0000
commitf7ea7e666da6e484577d0341fb0331dff75c69f7 (patch)
treeb7e0b6ce4287cba50ee72e2ab50ca31d942466b2 /backends/fs/posix
parentb405220ff2990b01b93c03a664ae9247b2fc422c (diff)
downloadscummvm-rg350-f7ea7e666da6e484577d0341fb0331dff75c69f7.tar.gz
scummvm-rg350-f7ea7e666da6e484577d0341fb0331dff75c69f7.tar.bz2
scummvm-rg350-f7ea7e666da6e484577d0341fb0331dff75c69f7.zip
Removed the isValid operation from the FilesystemNode class in favor of the much richer combinations possible with the new operations (exists, isReadable and isWritable).
The work on the Common::File class is far from complete. Only the necessary was updated. svn-id: r27473
Diffstat (limited to 'backends/fs/posix')
-rw-r--r--backends/fs/posix/posix-fs.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/backends/fs/posix/posix-fs.cpp b/backends/fs/posix/posix-fs.cpp
index 2e222f34f8..fb5c9dc5d7 100644
--- a/backends/fs/posix/posix-fs.cpp
+++ b/backends/fs/posix/posix-fs.cpp
@@ -68,7 +68,6 @@ public:
virtual String getPath() const { return _path; }
virtual bool isDirectory() const { return _isDirectory; }
virtual bool isReadable() const { return access(_path.c_str(), R_OK) == 0; }
- virtual bool isValid() const { return _isValid; }
virtual bool isWritable() const { return access(_path.c_str(), W_OK) == 0; }
virtual AbstractFilesystemNode *getChild(const String &n) const;