From 94f8330613877b3582d32bd11abd83a97b4399ad Mon Sep 17 00:00:00 2001 From: Li Jin Date: Tue, 15 Nov 2022 17:23:46 +0800 Subject: adding -w option to Yuescript tool. --- src/3rdParty/efsw/platform/win/FileSystemImpl.hpp | 31 +++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 src/3rdParty/efsw/platform/win/FileSystemImpl.hpp (limited to 'src/3rdParty/efsw/platform/win/FileSystemImpl.hpp') diff --git a/src/3rdParty/efsw/platform/win/FileSystemImpl.hpp b/src/3rdParty/efsw/platform/win/FileSystemImpl.hpp new file mode 100755 index 0000000..e952efc --- /dev/null +++ b/src/3rdParty/efsw/platform/win/FileSystemImpl.hpp @@ -0,0 +1,31 @@ +#ifndef EFSW_FILESYSTEMIMPLWIN_HPP +#define EFSW_FILESYSTEMIMPLWIN_HPP + +#include +#include +#include + +#if EFSW_PLATFORM == EFSW_PLATFORM_WIN32 + +namespace efsw { namespace Platform { + +class FileSystem { + public: + static FileInfoMap filesInfoFromPath( const std::string& path ); + + static char getOSSlash(); + + static bool isDirectory( const std::string& path ); + + static bool isRemoteFS( const std::string& directory ); + + static bool changeWorkingDirectory( const std::string& path ); + + static std::string getCurrentWorkingDirectory(); +}; + +}} // namespace efsw::Platform + +#endif + +#endif -- cgit v1.2.3-55-g6feb