diff --git a/src/snapper.h b/src/snapper.h
index 33a15bd04887d500e4a16c0dea0eb4bb30850a8f..89e4f9d7288e8197d0ad536e6e798b35e95e85d9 100644 (file)
--- a/src/snapper.h
+++ b/src/snapper.h
bool willSnapSomething() const;
+ void setEnabled(bool s);
+
SnappedPoint freeSnap(PointType t,
NR::Point const &p,
SPItem const *it) const;
std::list<SPItem const *> const &it) const = 0;
::NR::Coord _distance; ///< snap distance (desktop coordinates)
- int _snap_to; ///< bitmap of point types that we will snap to
+ int _snap_to; ///< bitmap of point types that we will snap to
+ bool _enabled; ///< true if this snapper is enabled, otherwise false
};
}