aboutsummaryrefslogtreecommitdiff
path: root/src/3rdParty/efsw/platform/posix/FileSystemImpl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdParty/efsw/platform/posix/FileSystemImpl.hpp')
-rwxr-xr-xsrc/3rdParty/efsw/platform/posix/FileSystemImpl.hpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/3rdParty/efsw/platform/posix/FileSystemImpl.hpp b/src/3rdParty/efsw/platform/posix/FileSystemImpl.hpp
new file mode 100755
index 0000000..0bfba76
--- /dev/null
+++ b/src/3rdParty/efsw/platform/posix/FileSystemImpl.hpp
@@ -0,0 +1,30 @@
1#ifndef EFSW_FILESYSTEMIMPLPOSIX_HPP
2#define EFSW_FILESYSTEMIMPLPOSIX_HPP
3
4#include <efsw/FileInfo.hpp>
5#include <efsw/base.hpp>
6
7#if defined( EFSW_PLATFORM_POSIX )
8
9namespace efsw { namespace Platform {
10
11class FileSystem {
12 public:
13 static FileInfoMap filesInfoFromPath( const std::string& path );
14
15 static char getOSSlash();
16
17 static bool isDirectory( const std::string& path );
18
19 static bool isRemoteFS( const std::string& directory );
20
21 static bool changeWorkingDirectory( const std::string& path );
22
23 static std::string getCurrentWorkingDirectory();
24};
25
26}} // namespace efsw::Platform
27
28#endif
29
30#endif