summaryrefslogtreecommitdiff
path: root/src/resources/beingcommon.h
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/beingcommon.h
parente89fb908638196c9484a2038e3f3eb18db6ef4ee (diff)
downloadplus-2157b8c6629cea79801566244fc3f1d8491e91be.tar.gz
plus-2157b8c6629cea79801566244fc3f1d8491e91be.tar.bz2
plus-2157b8c6629cea79801566244fc3f1d8491e91be.tar.xz
plus-2157b8c6629cea79801566244fc3f1d8491e91be.zip
Add file utils function getFilesInDir.
Diffstat (limited to 'src/resources/beingcommon.h')
-rw-r--r--src/resources/beingcommon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/beingcommon.h b/src/resources/beingcommon.h
index 273c95e11..04551092f 100644
--- a/src/resources/beingcommon.h
+++ b/src/resources/beingcommon.h
@@ -34,7 +34,7 @@ struct SpriteDisplay;
#define loadXmlDir(name, function) \
{ \
StringVect listVect; \
- BeingCommon::getIncludeFiles(paths.getStringValue( \
+ Files::getFilesInDir(paths.getStringValue( \
name), listVect, ".xml"); \
FOR_EACH (StringVectCIter, itVect, listVect) \
function(*itVect); \
@@ -43,7 +43,7 @@ struct SpriteDisplay;
#define loadXmlDir2(name, function, ext) \
{ \
StringVect listVect; \
- BeingCommon::getIncludeFiles(name, listVect, ext); \
+ Files::getFilesInDir(name, listVect, ext); \
FOR_EACH (StringVectCIter, itVect, listVect) \
function(*itVect); \
}