Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
blob: 9b443b0068da758a86abc3ad8b3b5e24d58a9677 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
   common/path.h
   This file is part of the Osirion project and is distributed under
   the terms of the GNU General Public License version 2
*/

#ifndef __INCLUDED_FILESYSTEM_PATH_H__
#define __INCLUDED_FILESYSTEM_PATH_H__

// C++ headers
#include <string>
#include <fstream>

namespace filesystem {

/// a class to create directories
class Path {
public:
	static bool exists(std::string path);
	static void create(std::string path);
}; // class Path

} // namespace filesystem

#endif // __INCLUDED_FILESYSTEM_PATH_H__