Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-01-30 17:29:25 +0000
committerStijn Buys <ingar@osirion.org>2008-01-30 17:29:25 +0000
commit28180e6b6763e4ce5d65c02e4df5380f11e6d10a (patch)
tree2f3c9953e501543052ea440476fb671fa845376b /src/filesystem/path.h
parente3c27429831245a151706c395991b42f2876b2e1 (diff)
filesystem subsystem
Diffstat (limited to 'src/filesystem/path.h')
-rw-r--r--src/filesystem/path.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/filesystem/path.h b/src/filesystem/path.h
new file mode 100644
index 0000000..9b443b0
--- /dev/null
+++ b/src/filesystem/path.h
@@ -0,0 +1,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__
+