diff options
author | David Corrales | 2007-07-09 01:16:13 +0000 |
---|---|---|
committer | David Corrales | 2007-07-09 01:16:13 +0000 |
commit | 8a36379d55afbfd5e322c1e216a11447a4de8a51 (patch) | |
tree | 96450950d0c7423b06dc0fd70124f9cc08b507d0 /backends/fs/windows/windows-fs.cpp | |
parent | 779f702b695977b5d8c0e03b8a24bd9c107b7cfe (diff) | |
download | scummvm-rg350-8a36379d55afbfd5e322c1e216a11447a4de8a51.tar.gz scummvm-rg350-8a36379d55afbfd5e322c1e216a11447a4de8a51.tar.bz2 scummvm-rg350-8a36379d55afbfd5e322c1e216a11447a4de8a51.zip |
Fixed a couple compilation issues in the windows build.
svn-id: r27983
Diffstat (limited to 'backends/fs/windows/windows-fs.cpp')
-rw-r--r-- | backends/fs/windows/windows-fs.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/backends/fs/windows/windows-fs.cpp b/backends/fs/windows/windows-fs.cpp index 5a9e1c65b6..995264f110 100644 --- a/backends/fs/windows/windows-fs.cpp +++ b/backends/fs/windows/windows-fs.cpp @@ -82,7 +82,7 @@ public: virtual bool isWritable() const { return _access(_path.c_str(), W_OK) == 0; } 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; private: @@ -246,9 +246,11 @@ AbstractFilesystemNode *WindowsFilesystemNode::getChild(const String &n) const { return new WindowsFilesystemNode(newPath, false); } -bool WindowsFilesystemNode::getChildren(AbstractFSList &myList, ListMode mode) const { +bool WindowsFilesystemNode::getChildren(AbstractFSList &myList, ListMode mode, bool hidden) const { assert(_isDirectory); + //TODO: honor the hidden flag + if (_isPseudoRoot) { #ifndef _WIN32_WCE // Drives enumeration |