aboutsummaryrefslogtreecommitdiff
path: root/src/support/filesystem_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/support/filesystem_context.h')
-rw-r--r--src/support/filesystem_context.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/support/filesystem_context.h b/src/support/filesystem_context.h
index d5836f1..cb3edd4 100644
--- a/src/support/filesystem_context.h
+++ b/src/support/filesystem_context.h
@@ -6,6 +6,7 @@
#include "boost/filesystem.hpp"
#include <string>
+#include <functional>
#include "common.h"
@@ -18,6 +19,11 @@ class FilesystemContext {
boost::filesystem::path resolve(const std::string&) const;
boost::filesystem::path resolve(const xalan::XalanDOMString&) const;
+ void iterate(const std::string&,
+ std::function<void(const boost::filesystem::path&)>) const;
+ void iterate(const xalan::XalanDOMString&,
+ std::function<void(const boost::filesystem::path&)>) const;
+
private:
const boost::filesystem::path path_;