aboutsummaryrefslogtreecommitdiff
path: root/src/function/read_file.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/function/read_file.h')
-rw-r--r--src/function/read_file.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/function/read_file.h b/src/function/read_file.h
index dbcf3d6..f800c37 100644
--- a/src/function/read_file.h
+++ b/src/function/read_file.h
@@ -8,12 +8,16 @@
#include <xalanc/XPath/Function.hpp>
#include <xalanc/XPath/XObject.hpp>
-#include "utility.h"
+#include <string>
+
+#include "common.h"
namespace InputXSLT {
class FunctionReadFile : public xalan::Function {
public:
+ FunctionReadFile(const std::string&);
+
virtual xalan::XObjectPtr execute(
xalan::XPathExecutionContext&,
xalan::XalanNode*,
@@ -27,6 +31,8 @@ class FunctionReadFile : public xalan::Function {
bool operator==(const FunctionReadFile&) const = delete;
private:
+ const std::string path_;
+
const xalan::XalanDOMString& getError(xalan::XalanDOMString&) const;
};