diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-25 18:40:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-25 18:40:05 +0300 |
commit | 2157b8c6629cea79801566244fc3f1d8491e91be (patch) | |
tree | fb999e7d464c70511f13472da0fba86749b8d737 /src/resources/beingcommon.h | |
parent | e89fb908638196c9484a2038e3f3eb18db6ef4ee (diff) | |
download | mv-2157b8c6629cea79801566244fc3f1d8491e91be.tar.gz mv-2157b8c6629cea79801566244fc3f1d8491e91be.tar.bz2 mv-2157b8c6629cea79801566244fc3f1d8491e91be.tar.xz mv-2157b8c6629cea79801566244fc3f1d8491e91be.zip |
Add file utils function getFilesInDir.
Diffstat (limited to 'src/resources/beingcommon.h')
-rw-r--r-- | src/resources/beingcommon.h | 4 |
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); \ } |