summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-07 02:18:27 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-07 02:18:27 +0300
commit0f85899c0aad7d6dbc15490189e97a68b4653d1c (patch)
tree08e31a7fbbd5661a7a1791cd7858f7581236e0d3 /src/resources
parent4c057739d0538d01481643848a6cb558e0ef4e51 (diff)
downloadmanaplus-0f85899c0aad7d6dbc15490189e97a68b4653d1c.tar.gz
manaplus-0f85899c0aad7d6dbc15490189e97a68b4653d1c.tar.bz2
manaplus-0f85899c0aad7d6dbc15490189e97a68b4653d1c.tar.xz
manaplus-0f85899c0aad7d6dbc15490189e97a68b4653d1c.zip
Get real desktop dir in linux for screenshots.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/resourcemanager.h7
1 files changed, 4 insertions, 3 deletions
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 <code>NULL</code> 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);