From a0ddbb0ccba20123fc4e8243d962f86232282612 Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Sun, 4 May 2014 20:26:29 +0200 Subject: Changed FilesystemContext constructor to accept xalan::Locator* * all instantiations of a FilesystemContext are currently based on information provided by a xalan::Locator instance provided to the external function execute member method * this change hides the stylesheet path extraction from the actual function implementation --- src/support/filesystem_context.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/support/filesystem_context.h') diff --git a/src/support/filesystem_context.h b/src/support/filesystem_context.h index cb3edd4..f743c89 100644 --- a/src/support/filesystem_context.h +++ b/src/support/filesystem_context.h @@ -2,6 +2,7 @@ #define INPUTXSLT_SRC_SUPPORT_FILESYSTEM_CONTEXT_H_ #include +#include #include "boost/filesystem.hpp" @@ -14,7 +15,7 @@ namespace InputXSLT { class FilesystemContext { public: - explicit FilesystemContext(const std::string&); + explicit FilesystemContext(const xalan::Locator*); boost::filesystem::path resolve(const std::string&) const; boost::filesystem::path resolve(const xalan::XalanDOMString&) const; -- cgit v1.2.3