summaryrefslogtreecommitdiffstats
path: root/src/sp-object.h
diff options
context:
space:
mode:
authorjohnce <johnce@users.sourceforge.net>2009-08-05 19:46:20 +0000
committerjohnce <johnce@users.sourceforge.net>2009-08-05 19:46:20 +0000
commit2553d36fec571b5a5da41ba08fe0f2740be4e451 (patch)
tree5d5497801f05fa409e4655253258f8a8e9e16b75 /src/sp-object.h
parent* [INTL: zh_TW] Traditional Chinese translation update (diff)
downloadinkscape-2553d36fec571b5a5da41ba08fe0f2740be4e451.tar.gz
inkscape-2553d36fec571b5a5da41ba08fe0f2740be4e451.zip
Inkscape::XML::Document -> Inkscape::XML::DocumentTree (more refactoring ...)
(bzr r8420)
Diffstat (limited to 'src/sp-object.h')
-rw-r--r--src/sp-object.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sp-object.h b/src/sp-object.h
index 2932da728..9a4f8fd4d 100644
--- a/src/sp-object.h
+++ b/src/sp-object.h
@@ -149,7 +149,7 @@ struct SPObject : public GObject {
SPIXmlSpace xml_space;
unsigned int hrefcount; /* number of xlink:href references */
unsigned int _total_hrefcount; /* our hrefcount + total descendants */
- Document *document; /* Document we are part of */
+ Inkscape::XML::Document *document; /* Document we are part of */
SPObject *parent; /* Our parent (only one allowed) */
SPObject *children; /* Our children */
SPObject *_last_child; /* Remembered last child */
@@ -501,7 +501,7 @@ private:
struct SPObjectClass {
GObjectClass parent_class;
- void (* build) (SPObject *object, Document *doc, Inkscape::XML::Node *repr);
+ void (* build) (SPObject *object, Inkscape::XML::Document *doc, Inkscape::XML::Node *repr);
void (* release) (SPObject *object);
/* Virtual handlers of repr signals */
@@ -519,7 +519,7 @@ struct SPObjectClass {
/* Modification handler */
void (* modified) (SPObject *object, unsigned int flags);
- Inkscape::XML::Node * (* write) (SPObject *object, Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, unsigned int flags);
+ Inkscape::XML::Node * (* write) (SPObject *object, Inkscape::XML::DocumentTree *doc, Inkscape::XML::Node *repr, unsigned int flags);
};
@@ -536,7 +536,7 @@ inline SPObject *sp_object_first_child(SPObject *parent) {
}
SPObject *sp_object_get_child_by_repr(SPObject *object, Inkscape::XML::Node *repr);
-void sp_object_invoke_build(SPObject *object, Document *document, Inkscape::XML::Node *repr, unsigned int cloned);
+void sp_object_invoke_build(SPObject *object, Inkscape::XML::Document *document, Inkscape::XML::Node *repr, unsigned int cloned);
void sp_object_set(SPObject *object, unsigned int key, gchar const *value);