diff options
Diffstat (limited to 'src/sp-object.h')
| -rw-r--r-- | src/sp-object.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sp-object.h b/src/sp-object.h index bbb8ecbd0..22a15a0a4 100644 --- a/src/sp-object.h +++ b/src/sp-object.h @@ -155,7 +155,15 @@ struct SPObject : public GObject { SPObject *_last_child; /* Remembered last child */ SPObject *next; /* Next object in linked list */ Inkscape::XML::Node *repr; /* Our xml representation */ + +private: gchar *id; /* Our very own unique id */ +public: + + /** + * Returns the objects current ID string. + */ + gchar const* getId() const; /** @brief cleans up an SPObject, releasing its references and * requesting that references to it be released @@ -495,6 +503,8 @@ private: gchar * getTitleOrDesc(gchar const *svg_tagname) const; SPObject * findFirstChild(gchar const *tagname) const; GString * textualContent() const; + + friend class SPObjectImpl; }; /// The SPObject vtable. |
