From 0f85899c0aad7d6dbc15490189e97a68b4653d1c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 7 Jun 2012 02:18:27 +0300 Subject: Get real desktop dir in linux for screenshots. --- src/resources/resourcemanager.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/resources/resourcemanager.h') diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h index f1bb35691..ca6bdb373 100644 --- a/src/resources/resourcemanager.h +++ b/src/resources/resourcemanager.h @@ -214,17 +214,18 @@ class ResourceManager * @return An allocated byte array containing the data that was loaded, * or NULL on fail. */ - void *loadFile(const std::string &fileName, int &fileSize); + static void *loadFile(const std::string &fileName, int &fileSize); /** * Retrieves the contents of a text file (PhysFS). */ - bool loadTextFile(const std::string &fileName, StringVect &lines); + static bool loadTextFile(const std::string &fileName, + StringVect &lines); /** * Retrieves the contents of a text file. */ - StringVect loadTextFileLocal(const std::string &fileName); + static StringVect loadTextFileLocal(const std::string &fileName); void saveTextFile(std::string path, std::string name, std::string text); -- cgit v1.2.3-60-g2f50