From 63d732ef4c6d3ee46fc743768274d407de6f876a Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Sun, 7 Sep 2008 15:12:57 +0000 Subject: If a snapper needs a reference to a SPNamedView or a SPDesktop, then get that reference via the SnapManager (instead of storing references in the snapper and accessing them directly) (bzr r6773) --- src/snap.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/snap.h') diff --git a/src/snap.h b/src/snap.h index 480ca9869..df0860274 100644 --- a/src/snap.h +++ b/src/snap.h @@ -120,6 +120,8 @@ public: SnapperList getGridSnappers() const; SPDesktop const *getDesktop() const {return _desktop;} + SPNamedView const *getNamedView() const {return _named_view;} + SPDocument *getDocument() const; void setSnapModeBBox(bool enabled); void setSnapModeNode(bool enabled); -- cgit v1.2.3