diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-14 22:41:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-14 22:41:07 +0300 |
commit | 56d6454ba617d1dcddbbaa21e2066a7db0caee75 (patch) | |
tree | 5012e55f393db2d62b40eb64142fa4317b16c571 /src/resources/db/badgesdb.cpp | |
parent | bdec92381ef60cd027292ed63e254e8de70028d9 (diff) | |
download | manaverse-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.gz manaverse-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.bz2 manaverse-56d6454ba617d1dcddbbaa21e2066a7db0caee75.tar.xz manaverse-56d6454ba617d1dcddbbaa21e2066a7db0caee75.zip |
Move some virtfs replated functions from files.cpp into virtfstools.cpp
Diffstat (limited to 'src/resources/db/badgesdb.cpp')
-rw-r--r-- | src/resources/db/badgesdb.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/resources/db/badgesdb.cpp b/src/resources/db/badgesdb.cpp index 9e7a7fad4..031d78945 100644 --- a/src/resources/db/badgesdb.cpp +++ b/src/resources/db/badgesdb.cpp @@ -22,7 +22,7 @@ #include "configuration.h" -#include "utils/files.h" +#include "utils/virtfstools.h" #include "utils/xmlutils.h" #include "debug.h" @@ -58,8 +58,10 @@ static void loadDB(const std::string &name, BadgesInfos &arr) name, arr, SkipError_true); StringVect listVect; - Files::getFilesInDir(paths.getStringValue( - "badgesPatchDir"), listVect, ".xml"); + VirtFs::getFilesInDir(paths.getStringValue( + "badgesPatchDir"), + listVect, + ".xml"); FOR_EACH (StringVectCIter, itVect, listVect) loadXmlFile(*itVect, name, arr, SkipError_true); } |