summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-07-08 23:17:24 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-07-08 23:17:24 +0000
commitb04a9115ed409951a8ff92eae680a959143d2b2a (patch)
tree0b06302c28257ad1196d95299582a7f1ebb9719f /src
parentswitch scale/rotate mode with Shift+s (diff)
downloadinkscape-b04a9115ed409951a8ff92eae680a959143d2b2a.tar.gz
inkscape-b04a9115ed409951a8ff92eae680a959143d2b2a.zip
add accessors for owner object and document
(bzr r3198)
Diffstat (limited to 'src')
-rw-r--r--src/uri-references.h3
1 files changed, 3 insertions, 0 deletions
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; }