Fixed Windows build for latest file selector changes.

This commit is contained in:
Stephen Anthony 2019-06-22 21:25:40 -02:30
parent 4f30a183ec
commit 0beffd01cf
4 changed files with 8 additions and 16 deletions

View File

@ -217,12 +217,10 @@ string FilesystemNodeWINDOWS::getShortPath() const
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool FilesystemNodeWINDOWS::
getChildren(AbstractFSList& myList, ListMode mode, bool hidden) const
getChildren(AbstractFSList& myList, ListMode mode) const
{
assert(_isDirectory);
//TODO: honor the hidden flag
if(_isPseudoRoot)
{
// Drives enumeration

View File

@ -59,8 +59,10 @@ class FilesystemNodeWINDOWS : public AbstractFSNode
bool exists() const override;
const string& getName() const override { return _displayName; }
void setName(const string& name) override { _displayName = name; }
const string& getPath() const override { return _path; }
string getShortPath() const override;
bool hasParent() const override { return !_isPseudoRoot; }
bool isDirectory() const override { return _isDirectory; }
bool isFile() const override { return _isFile; }
bool isReadable() const override;
@ -68,7 +70,7 @@ class FilesystemNodeWINDOWS : public AbstractFSNode
bool makeDir() override;
bool rename(const string& newfile) override;
bool getChildren(AbstractFSList& list, ListMode mode, bool hidden) const override;
bool getChildren(AbstractFSList& list, ListMode mode) const override;
AbstractFSNodePtr getParent() const override;
protected:

View File

@ -615,7 +615,6 @@
<ClCompile Include="..\gui\EventMappingWidget.cxx" />
<ClCompile Include="..\gui\Font.cxx" />
<ClCompile Include="..\gui\GameInfoDialog.cxx" />
<ClCompile Include="..\gui\GameList.cxx" />
<ClCompile Include="..\gui\GlobalPropsDialog.cxx" />
<ClCompile Include="..\gui\HelpDialog.cxx" />
<ClCompile Include="..\gui\InputDialog.cxx" />
@ -1361,7 +1360,6 @@
<ClInclude Include="..\gui\EventMappingWidget.hxx" />
<ClInclude Include="..\gui\Font.hxx" />
<ClInclude Include="..\gui\GameInfoDialog.hxx" />
<ClInclude Include="..\gui\GameList.hxx" />
<ClInclude Include="..\gui\GlobalPropsDialog.hxx" />
<ClInclude Include="..\gui\GuiObject.hxx" />
<ClInclude Include="..\gui\HelpDialog.hxx" />

View File

@ -384,9 +384,6 @@
<ClCompile Include="..\gui\GameInfoDialog.cxx">
<Filter>Source Files\gui</Filter>
</ClCompile>
<ClCompile Include="..\gui\GameList.cxx">
<Filter>Source Files\gui</Filter>
</ClCompile>
<ClCompile Include="..\gui\GlobalPropsDialog.cxx">
<Filter>Source Files\gui</Filter>
</ClCompile>
@ -1340,9 +1337,6 @@
<ClInclude Include="..\gui\GameInfoDialog.hxx">
<Filter>Header Files\gui</Filter>
</ClInclude>
<ClInclude Include="..\gui\GameList.hxx">
<Filter>Header Files\gui</Filter>
</ClInclude>
<ClInclude Include="..\gui\GlobalPropsDialog.hxx">
<Filter>Header Files\gui</Filter>
</ClInclude>