index 9b3157add52873b326d28561c6ae9ce7660e5164..8a37c577c6f67f417945d2a70ffe0741c72dc94d 100644 (file)
{
public:
explicit SimpleDocument()
- : SimpleNode(g_quark_from_static_string("xml"), NULL),
- _in_transaction(false)
- {
- _initBindings();
- }
+ : SimpleNode(g_quark_from_static_string("xml"), this),
+ _in_transaction(false) {}
NodeType type() const { return Inkscape::XML::DOCUMENT_NODE; }
- NodeObserver *logger() { return this; }
-
bool inTransaction() { return _in_transaction; }
void beginTransaction();
protected:
SimpleDocument(SimpleDocument const &doc)
: Node(), SimpleNode(doc), Document(), NodeObserver(),
- _in_transaction(false)
- {
- _initBindings();
- }
+ _in_transaction(false) {}
SimpleNode *_duplicate(Document* /*doc*/) const
{
return new SimpleDocument(*this);
}
+ NodeObserver *logger() { return this; }
private:
- void _initBindings();
-
bool _in_transaction;
LogBuilder _log_builder;
};
fill-column:99
End:
*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :