diff options
author | David Corrales | 2007-07-09 01:26:54 +0000 |
---|---|---|
committer | David Corrales | 2007-07-09 01:26:54 +0000 |
commit | 1a965aad9568b296545890b7bb61e0de7b052e26 (patch) | |
tree | 468cc584fb960d4417780c198172c2761ecd8006 /backends/fs/symbian/symbian-fs.cpp | |
parent | 8a36379d55afbfd5e322c1e216a11447a4de8a51 (diff) | |
download | scummvm-rg350-1a965aad9568b296545890b7bb61e0de7b052e26.tar.gz scummvm-rg350-1a965aad9568b296545890b7bb61e0de7b052e26.tar.bz2 scummvm-rg350-1a965aad9568b296545890b7bb61e0de7b052e26.zip |
Update the interfaces for the getChildren method to include the hidden flag.
Also added some missing method stubs to the gamecard dc port.
svn-id: r27984
Diffstat (limited to 'backends/fs/symbian/symbian-fs.cpp')
-rw-r--r-- | backends/fs/symbian/symbian-fs.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/backends/fs/symbian/symbian-fs.cpp b/backends/fs/symbian/symbian-fs.cpp index 5c3dd74f5c..60693eefb5 100644 --- a/backends/fs/symbian/symbian-fs.cpp +++ b/backends/fs/symbian/symbian-fs.cpp @@ -69,7 +69,7 @@ public: virtual bool isWritable() const { return true; } //FIXME: this is just a stub virtual AbstractFilesystemNode *getChild(const String &n) const; - virtual bool getChildren(AbstractFSList &list, ListMode mode) const; + virtual bool getChildren(AbstractFSList &list, ListMode mode, bool hidden) const; virtual AbstractFilesystemNode *getParent() const; }; @@ -163,9 +163,11 @@ AbstractFilesystemNode *SymbianFilesystemNode::getChild(const String &n) const { return new SymbianFilesystemNode(newPath); } -bool SymbianFilesystemNode::getChildren(AbstractFSList &myList, ListMode mode) const { +bool SymbianFilesystemNode::getChildren(AbstractFSList &myList, ListMode mode, bool hidden) const { assert(_isDirectory); + //TODO: honor the hidden flag + if (_isPseudoRoot) { // Drives enumeration RFs fs = CEikonEnv::Static()->FsSession(); |