summaryrefslogtreecommitdiff
path: root/src/resources/beingcommon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/beingcommon.h')
-rw-r--r--src/resources/beingcommon.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/beingcommon.h b/src/resources/beingcommon.h
index 6bf481db4..15bab1a34 100644
--- a/src/resources/beingcommon.h
+++ b/src/resources/beingcommon.h
@@ -29,6 +29,13 @@
class BeingInfo;
+#define loadXmlDir(name, function) \
+ StringVect list; \
+ BeingCommon::getIncludeFiles(paths.getStringValue( \
+ name), list); \
+ FOR_EACH (StringVectCIter, it, list) \
+ function(*it);
+
namespace BeingCommon
{
void readBasicAttributes(BeingInfo *const info, XmlNodePtr node,