From: buliabyak Date: Sun, 8 Jul 2007 23:17:24 +0000 (+0000) Subject: add accessors for owner object and document X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9635bcdab26795b65a838c27805c238517c79765;p=inkscape.git add accessors for owner object and document --- diff --git a/src/uri-references.h b/src/uri-references.h index 89cdff827..4a5b1516a 100644 --- a/src/uri-references.h +++ b/src/uri-references.h @@ -114,6 +114,9 @@ public: return (bool)_uri; } + SPDocument *getOwnerDocument() {return _owner_document;} + SPObject *getOwnerObject() {return _owner;} + protected: virtual bool _acceptObject(SPObject *obj) const { return true; }