summaryrefslogtreecommitdiff
path: root/src/plugins/xml/XmlParser.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/xml/XmlParser.hpp')
-rw-r--r--src/plugins/xml/XmlParser.hpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/plugins/xml/XmlParser.hpp b/src/plugins/xml/XmlParser.hpp
index f6fb060..b19af1e 100644
--- a/src/plugins/xml/XmlParser.hpp
+++ b/src/plugins/xml/XmlParser.hpp
@@ -28,9 +28,11 @@
#ifndef _OUSIA_XML_PARSER_HPP_
#define _OUSIA_XML_PARSER_HPP_
-#include <core/Parser.hpp>
+#include <core/parser/Parser.hpp>
namespace ousia {
+namespace parser {
+namespace xml {
/**
* The XmlParser class implements parsing the various types of Ousía XML
@@ -48,15 +50,19 @@ public:
/**
* Parses the given input stream as XML file and returns the parsed
- * top-level node. Throws
+ * top-level node.
*
* @param is is the input stream that will be parsed.
+ * @param ctx is a reference to the ParserContext instance that should be
+ * used.
*/
- Rooted<Node> parse(std::istream &is, Handle<Node> context,
- Logger &logger) override;
+ Rooted<Node> parse(std::istream &is, ParserContext &ctx) override;
using Parser::parse;
};
+
+}
+}
}
#endif /* _OUSIA_XML_PARSER_HPP_ */