index fba6691aa876bb2e404ba02cfe4f343780039b46..a4a82c6fbf828d1aeaaf7ee8bfb1a05a1ba71083 100644 (file)
#include "document.h"
#include "xml/document.h"
+#include "xml/node.h"
#include "xml/simple-node.h"
#include "xml/node-observer.h"
#include "jabber_whiteboard/defines.h"
void handleChange(Message::Wrapper &wrapper, Pedro::Element* data);
- NodeObserver *logger() { return this; }
-
//
// XML::Session methods
//
XML::Event* commitUndoable();
- XML::Node* createElementNode(char const* name);
+ XML::Node* createElement(char const* name);
XML::Node* createTextNode(char const* content);
- XML::Node* createCommentNode(char const* content);
+ XML::Node* createComment(char const* content);
+ XML::Node* createPI(char const *target, char const* content);
//
// XML::NodeObserver methods
_initBindings();
}
- XML::SimpleNode* _duplicate() const
+ XML::SimpleNode* _duplicate(XML::Document* /*xml_doc*/) const
{
return new InkboardDocument(*this);
}
+ NodeObserver *logger() { return this; }
private:
void _initBindings();