]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Utils/Folders.cpp
Cleaned up Objects handling
[lugaru.git] / Source / Utils / Folders.cpp
index e2956e55db6c72c49d0d60c9f8dea9d2fd0a8833..8de69db5098383ec1cb47db41401ba38d2226da9 100644 (file)
@@ -21,6 +21,8 @@ along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
 #include "Folders.hpp"
 
 #include <cstring>
+#include <cstdlib>
+#include <cerrno>
 #include <unistd.h>
 
 #if PLATFORM_UNIX
@@ -43,11 +45,6 @@ std::string Folders::getScreenshotDir()
     return screenshotDir;
 }
 
-std::string Folders::getResourcePath(std::string filepath)
-{
-    return dataDir + '/' + filepath;
-}
-
 std::string Folders::getUserDataPath()
 {
     std::string userDataPath;