summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r--src/resources/resourcemanager.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h
index 9df96d354..a941eaf3c 100644
--- a/src/resources/resourcemanager.h
+++ b/src/resources/resourcemanager.h
@@ -25,10 +25,10 @@
#include "main.h"
+#include "utils/stringvector.h"
+
#include <ctime>
#include <map>
-#include <string>
-#include <vector>
#include <set>
class Image;
@@ -219,14 +219,12 @@ class ResourceManager
/**
* Retrieves the contents of a text file (PhysFS).
*/
- bool loadTextFile(const std::string &fileName,
- std::vector<std::string> &lines);
+ bool loadTextFile(const std::string &fileName, StringVect &lines);
/**
* Retrieves the contents of a text file.
*/
- std::vector<std::string> loadTextFileLocal(const std::string
- &fileName);
+ StringVect loadTextFileLocal(const std::string &fileName);
void saveTextFile(std::string path, std::string name,
std::string text);