src/gengine/FsPath.h
raw| 1 | #ifndef HEADER_FSPATH_H |
| 2 | #define HEADER_FSPATH_H |
| 3 | |
| 4 | #include <string> |
| 5 | |
| 6 | /** |
| 7 | * File system path. |
| 8 | * System dependent operations. |
| 9 | */ |
| 10 | class FsPath { |
| 11 | public: |
| 12 | static std::string getNative(const std::string &file); |
| 13 | static bool exists(const std::string &file); |
| 14 | static std::string join(const std::string &dir, |
| 15 | const std::string &file); |
| 16 | static void createPath(const std::string &dir); |
| 17 | }; |
| 18 | |
| 19 | #endif |
| 20 |