Fixed creating and setting the write directory on some sandboxed operating systems

This commit is contained in:
Alex Szpakowski
2014-05-05 00:27:42 -03:00
parent 9d293af176
commit e25cdfc71c
3 changed files with 36 additions and 16 deletions
+2 -2
View File
@@ -145,14 +145,14 @@ public:
/**
* Gets the user home directory.
**/
const char *getUserDirectory();
std::string getUserDirectory();
/**
* Gets the APPDATA directory. On Windows, this is the folder
* in the %APPDATA% enviroment variable. On Linux, this is the
* user home folder.
**/
const char *getAppdataDirectory();
std::string getAppdataDirectory();
/**
* Gets the full path of the save folder.