From 55999ee1187579179a70328808a4c856339ca97f Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Wed, 9 Oct 2013 09:57:48 +0200 Subject: Moved cMakeDir::MakeDir to cFile::CreateFolder. And exported to Lua. --- source/OSSupport/File.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/OSSupport/File.h') diff --git a/source/OSSupport/File.h b/source/OSSupport/File.h index f47bd4041..9fef25ace 100644 --- a/source/OSSupport/File.h +++ b/source/OSSupport/File.h @@ -118,6 +118,9 @@ public: /// Returns the size of the file, or a negative number on error static int GetSize(const AString & a_FileName); + /// Creates a new folder with the specified name. Returns true if successful. Path may be relative or absolute + static bool CreateFolder(const AString & a_FolderPath); + // tolua_end int Printf(const char * a_Fmt, ...); -- cgit v1.2.3