summaryrefslogtreecommitdiff
path: root/project2/xml/rawView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/xml/rawView.cpp')
-rw-r--r--project2/xml/rawView.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/project2/xml/rawView.cpp b/project2/xml/rawView.cpp
index 151d594..8feceb3 100644
--- a/project2/xml/rawView.cpp
+++ b/project2/xml/rawView.cpp
@@ -6,15 +6,16 @@
#include "xmlObjectLoader.h"
#include "environment.h"
#include "appEngine.h"
+#include "xmlScriptParser.h"
#include <boost/foreach.hpp>
#include <libxml++/nodes/textnode.h>
DECLARE_LOADER("rawview", RawView);
-RawView::RawView(const xmlpp::Element * p) :
+RawView::RawView(ScriptNodePtr p) :
SourceObject(p),
View(p),
- copyRoot(p)
+ copyRoot(boost::dynamic_pointer_cast<const XmlScriptNode>(p)->xmlElement())
{
}