summaryrefslogtreecommitdiff
path: root/src/core/parser/ParserContext.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/parser/ParserContext.hpp')
-rw-r--r--src/core/parser/ParserContext.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/parser/ParserContext.hpp b/src/core/parser/ParserContext.hpp
index 9b6eca0..f6ae89c 100644
--- a/src/core/parser/ParserContext.hpp
+++ b/src/core/parser/ParserContext.hpp
@@ -30,6 +30,7 @@
#include <core/common/Location.hpp>
#include <core/common/Rtti.hpp>
+#include <core/model/Node.hpp>
#include <core/model/Project.hpp>
namespace ousia {
@@ -116,7 +117,7 @@ public:
* checked, not the actual result.
* @return the parsed node or nullptr if something goes wrong.
*/
- Rooted<Node> link(const std::string &path, const std::string mimetype,
+ NodeVector<Node> link(const std::string &path, const std::string mimetype,
const std::string rel, const RttiSet &supportedTypes);
/**
@@ -137,7 +138,7 @@ public:
* checked, not the actual result.
* @return the parsed node or nullptr if something goes wrong.
*/
- Rooted<Node> include(const std::string &path, const std::string mimetype,
+ NodeVector<Node> include(const std::string &path, const std::string mimetype,
const std::string rel, const RttiSet &supportedTypes);
/**