X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FUtils%2FFolders.cpp;h=8de69db5098383ec1cb47db41401ba38d2226da9;hb=487fc31578d1fa8d0d2b11fdb59aaca074bce6e2;hp=b667daa933a5d22bc59b1779ea086550d70ad9d6;hpb=e8886f08acfcbec9dbe361df12cff7ef96005a0e;p=lugaru.git diff --git a/Source/Utils/Folders.cpp b/Source/Utils/Folders.cpp index b667daa..8de69db 100644 --- a/Source/Utils/Folders.cpp +++ b/Source/Utils/Folders.cpp @@ -18,17 +18,22 @@ You should have received a copy of the GNU General Public License along with Lugaru. If not, see . */ -#include "Folders.h" +#include "Folders.hpp" + #include +#include +#include #include + #if PLATFORM_UNIX +#include #include #include -#include #endif + #if _WIN32 -#include #include // to get paths related functions +#include #endif const std::string Folders::dataDir = DATA_DIR; @@ -40,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;