diff options
author | Max Horn | 2006-05-03 10:14:05 +0000 |
---|---|---|
committer | Max Horn | 2006-05-03 10:14:05 +0000 |
commit | d404b6150af5d7cf716b52dfe274acca81f6ffad (patch) | |
tree | cfb577ff33226feeae4cd43e9556d49c229080af /backends/fs/symbian/symbian-fs.cpp | |
parent | 58c723d9f01c16fa212946cc26993ed776056da5 (diff) | |
download | scummvm-rg350-d404b6150af5d7cf716b52dfe274acca81f6ffad.tar.gz scummvm-rg350-d404b6150af5d7cf716b52dfe274acca81f6ffad.tar.bz2 scummvm-rg350-d404b6150af5d7cf716b52dfe274acca81f6ffad.zip |
Started to separate AbstractFilesystemNode from FilesystemNode
svn-id: r22297
Diffstat (limited to 'backends/fs/symbian/symbian-fs.cpp')
-rw-r--r-- | backends/fs/symbian/symbian-fs.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/backends/fs/symbian/symbian-fs.cpp b/backends/fs/symbian/symbian-fs.cpp index 062ab22856..78a2461a5b 100644 --- a/backends/fs/symbian/symbian-fs.cpp +++ b/backends/fs/symbian/symbian-fs.cpp @@ -24,6 +24,7 @@ #if defined (__SYMBIAN32__) #include "common/stdafx.h" +#include "backends/fs/abstract-fs.h" #include "backends/fs/fs.h" #include <dirent.h> @@ -51,7 +52,7 @@ public: virtual bool isDirectory() const { return _isDirectory; } virtual String path() const { return _path; } - virtual FSList listDir(ListMode mode = kListDirectoriesOnly) const; + virtual FSList listDir(ListMode mode) const; virtual AbstractFilesystemNode *parent() const; virtual AbstractFilesystemNode *child(const String &name) const; }; @@ -166,8 +167,8 @@ FSList SymbianFilesystemNode::listDir(ListMode mode) const { entry._isDirectory = fileentry.IsDir(); // Honor the chosen mode - if ((mode == kListFilesOnly && entry._isDirectory) || - (mode == kListDirectoriesOnly && !entry._isDirectory)) + if ((mode == FilesystemNode::kListFilesOnly && entry._isDirectory) || + (mode == FilesystemNode::kListDirectoriesOnly && !entry._isDirectory)) continue; if (entry._isDirectory) |