diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-29 03:51:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-29 03:52:16 +0300 |
commit | 3bf4e26b1319295532bb4396cbd6406d85cbcae0 (patch) | |
tree | 80a4303b29aafa21683e90e45798283a482bf1d1 /src/resources/resourcemanager.h | |
parent | 7f607a0f58a9eba53237955c06bf445c71d57b6c (diff) | |
download | manaplus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.gz manaplus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.bz2 manaplus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.xz manaplus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.zip |
Replace vectors with strings to short names.
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r-- | src/resources/resourcemanager.h | 10 |
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); |