summaryrefslogtreecommitdiff
path: root/src/resources/db/badgesdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-25 18:40:05 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-25 18:40:05 +0300
commit2157b8c6629cea79801566244fc3f1d8491e91be (patch)
treefb999e7d464c70511f13472da0fba86749b8d737 /src/resources/db/badgesdb.cpp
parente89fb908638196c9484a2038e3f3eb18db6ef4ee (diff)
downloadmanaverse-2157b8c6629cea79801566244fc3f1d8491e91be.tar.gz
manaverse-2157b8c6629cea79801566244fc3f1d8491e91be.tar.bz2
manaverse-2157b8c6629cea79801566244fc3f1d8491e91be.tar.xz
manaverse-2157b8c6629cea79801566244fc3f1d8491e91be.zip
Add file utils function getFilesInDir.
Diffstat (limited to 'src/resources/db/badgesdb.cpp')
-rw-r--r--src/resources/db/badgesdb.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/db/badgesdb.cpp b/src/resources/db/badgesdb.cpp
index ccaa1dc3d..de8f48499 100644
--- a/src/resources/db/badgesdb.cpp
+++ b/src/resources/db/badgesdb.cpp
@@ -24,6 +24,7 @@
#include "resources/beingcommon.h"
+#include "utils/files.h"
#include "utils/xmlutils.h"
#include "debug.h"
@@ -57,7 +58,7 @@ static void loadDB(const std::string &name, BadgesInfos &arr)
name, arr);
StringVect listVect;
- BeingCommon::getIncludeFiles(paths.getStringValue(
+ Files::getFilesInDir(paths.getStringValue(
"badgesPatchDir"), listVect, ".xml");
FOR_EACH (StringVectCIter, itVect, listVect)
loadXmlFile(*itVect, name, arr);