GlPortal Class Reference  0.1.1
Source code documentation of the free and open 3D action puzzle game.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Path.hpp
Go to the documentation of this file.
1 #ifndef PATH_HPP
2 #define PATH_HPP
3 
4 #include <string>
5 
6 namespace radix {
7 
8 class Path {
9 public:
10  static std::string GetDirectorySeparator();
11  static bool DirectoryExist(std::string & directory);
12 
13  // convert path from unix paths used throughout the code
14  static std::string FromUnixPath(const std::string & unixPath);
15 };
16 
17 } /* namespace radix */
18 
19 #endif /* PATH_HPP */
Definition: GameController.hpp:7
static bool DirectoryExist(std::string &directory)
Definition: Path.cpp:21
Definition: Path.hpp:8
static std::string GetDirectorySeparator()
Definition: Path.cpp:13
static std::string FromUnixPath(const std::string &unixPath)
Definition: Path.cpp:34