diff options
Diffstat (limited to 'backends/fs/dc/dc-fs.cpp')
-rw-r--r-- | backends/fs/dc/dc-fs.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/backends/fs/dc/dc-fs.cpp b/backends/fs/dc/dc-fs.cpp index 070c9b075b..e1228c7ff2 100644 --- a/backends/fs/dc/dc-fs.cpp +++ b/backends/fs/dc/dc-fs.cpp @@ -67,7 +67,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; }; @@ -137,9 +137,11 @@ AbstractFilesystemNode *RoninCDFilesystemNode::getChild(const String &n) const { return new RoninCDFilesystemNode(newPath, true); } -bool RoninCDFilesystemNode::getChildren(AbstractFSList &myList, ListMode mode) const { +bool RoninCDFilesystemNode::getChildren(AbstractFSList &myList, ListMode mode, bool hidden) const { assert(_isDirectory); + //TODO: honor the hidden flag + DIR *dirp = opendir(_path.c_str()); struct dirent *dp; |