aboutsummaryrefslogtreecommitdiff
path: root/src/filesys.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/filesys.h')
-rw-r--r--src/filesys.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/filesys.h b/src/filesys.h
new file mode 100644
index 000000000..6222dbfda
--- /dev/null
+++ b/src/filesys.h
@@ -0,0 +1,27 @@
+#ifndef FILESYS_HEADER
+#define FILESYS_HEADER
+
+#include <string>
+#include <vector>
+#include "exceptions.h"
+
+namespace fs
+{
+
+struct DirListNode
+{
+ std::string name;
+ bool dir;
+};
+
+std::vector<DirListNode> GetDirListing(std::string path);
+
+// Returns true if already exists
+bool CreateDir(std::string path);
+
+bool PathExists(std::string path);
+
+}//fs
+
+#endif
+