Fixed Windows build for latest file selector changes.

This commit is contained in:
Stephen Anthony 2019-06-22 21:25:40 -02:30
parent bcca945951
commit 37908e8798
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

@ -58,9 +58,11 @@ class FilesystemNodeWINDOWS : public AbstractFSNode
explicit FilesystemNodeWINDOWS(const string& path);
bool exists() const override;
const string& getName() const override { return _displayName; }
const string& getPath() const override { return _path; }
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

@ -374,7 +374,7 @@
<ClCompile Include="..\common\EventHandlerSDL2.cxx" />
<ClCompile Include="..\common\FBSurfaceSDL2.cxx" />
<ClCompile Include="..\common\FpsMeter.cxx" />
<ClCompile Include="..\common\FrameBufferSDL2.cxx" />
<ClCompile Include="..\common\FrameBufferSDL2.cxx" />
<ClCompile Include="..\common\FSNodeZIP.cxx" />
<ClCompile Include="..\common\KeyMap.cxx" />
<ClCompile Include="..\common\Logger.cxx" />
@ -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>
@ -2012,4 +2006,4 @@
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
</Project>
</Project>