aboutsummaryrefslogtreecommitdiff
path: root/src/3rdParty/efsw/platform/win/FileSystemImpl.hpp
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2022-11-15 17:23:46 +0800
committerLi Jin <dragon-fly@qq.com>2022-11-15 17:52:09 +0800
commit94f8330613877b3582d32bd11abd83a97b4399ad (patch)
tree5359de314be1ebde17f8d1e48632a97d18f9e50f /src/3rdParty/efsw/platform/win/FileSystemImpl.hpp
parent60f8f00a022ac08701792b2897b72d8c99b50f52 (diff)
downloadyuescript-94f8330613877b3582d32bd11abd83a97b4399ad.tar.gz
yuescript-94f8330613877b3582d32bd11abd83a97b4399ad.tar.bz2
yuescript-94f8330613877b3582d32bd11abd83a97b4399ad.zip
adding -w option to Yuescript tool.
Diffstat (limited to 'src/3rdParty/efsw/platform/win/FileSystemImpl.hpp')
-rwxr-xr-xsrc/3rdParty/efsw/platform/win/FileSystemImpl.hpp31
1 files changed, 31 insertions, 0 deletions
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 @@
1#ifndef EFSW_FILESYSTEMIMPLWIN_HPP
2#define EFSW_FILESYSTEMIMPLWIN_HPP
3
4#include <efsw/FileInfo.hpp>
5#include <efsw/String.hpp>
6#include <efsw/base.hpp>
7
8#if EFSW_PLATFORM == EFSW_PLATFORM_WIN32
9
10namespace efsw { namespace Platform {
11
12class FileSystem {
13 public:
14 static FileInfoMap filesInfoFromPath( const std::string& path );
15
16 static char getOSSlash();
17
18 static bool isDirectory( const std::string& path );
19
20 static bool isRemoteFS( const std::string& directory );
21
22 static bool changeWorkingDirectory( const std::string& path );
23
24 static std::string getCurrentWorkingDirectory();
25};
26
27}} // namespace efsw::Platform
28
29#endif
30
31#endif