Code

add accessors for owner object and document
authorbuliabyak <buliabyak@users.sourceforge.net>
Sun, 8 Jul 2007 23:17:24 +0000 (23:17 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Sun, 8 Jul 2007 23:17:24 +0000 (23:17 +0000)
src/uri-references.h

index 89cdff82743870ecba567b53709a9a271554a210..4a5b1516aa7b83a816033d7c7d67cf93d423a558 100644 (file)
@@ -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; }