Code

Filter effects dialog:
[inkscape.git] / src / uri-references.h
index 38f346987933ba810e50b6093f9dc5166b550414..4a5b1516aa7b83a816033d7c7d67cf93d423a558 100644 (file)
@@ -41,6 +41,7 @@ public:
         *              is holding a reference to the target object.
         */
        URIReference(SPObject *owner);
+       URIReference(SPDocument *owner_document);
 
        /**
         * Destructor.  Calls shutdown() if the reference has not been
@@ -113,11 +114,15 @@ public:
                return (bool)_uri;
        }
 
+  SPDocument *getOwnerDocument() {return _owner_document;}
+  SPObject *getOwnerObject() {return _owner;}
+
 protected:
        virtual bool _acceptObject(SPObject *obj) const { return true; }
 
 private:
        SPObject *_owner;
+       SPDocument *_owner_document;
        sigc::connection _connection;
        sigc::connection _release_connection;
        SPObject *_obj;