From 4e249fb3fbf75f0359758760d88e22aa5b14533c Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 27 Nov 2010 01:02:21 +0200 Subject: Initial files --- src/filesys.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/filesys.h (limited to 'src/filesys.h') 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 +#include +#include "exceptions.h" + +namespace fs +{ + +struct DirListNode +{ + std::string name; + bool dir; +}; + +std::vector GetDirListing(std::string path); + +// Returns true if already exists +bool CreateDir(std::string path); + +bool PathExists(std::string path); + +}//fs + +#endif + -- cgit v1.2.3