diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2013-01-17 20:02:50 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2013-01-17 20:02:50 +0000 |
| commit | bf58d4cb9c86682d1416c64378d1cfc8a95554e8 (patch) | |
| tree | 573e206bdd797d1ca26d62a55dbff3078b0fe292 /src/knot-holder-entity.h | |
| parent | more const happiness (and removal of duplicate code in sp-object.h) (diff) | |
| download | inkscape-bf58d4cb9c86682d1416c64378d1cfc8a95554e8.tar.gz inkscape-bf58d4cb9c86682d1416c64378d1cfc8a95554e8.zip | |
const ....
(bzr r12039)
Diffstat (limited to '')
| -rw-r--r-- | src/knot-holder-entity.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/knot-holder-entity.h b/src/knot-holder-entity.h index 09d70f8c9..a4e6528cf 100644 --- a/src/knot-holder-entity.h +++ b/src/knot-holder-entity.h @@ -59,7 +59,7 @@ public: /* the get/set/click handlers are virtual functions; each handler class for a knot should be derived from KnotHolderEntity and override these functions */ virtual void knot_set(Geom::Point const &p, Geom::Point const &origin, guint state) = 0; - virtual Geom::Point knot_get() = 0; + virtual Geom::Point knot_get() const = 0; virtual void knot_click(guint /*state*/) {} void update_knot(); @@ -101,19 +101,19 @@ protected: class PatternKnotHolderEntityXY : public KnotHolderEntity { public: - virtual Geom::Point knot_get(); + virtual Geom::Point knot_get() const; virtual void knot_set(Geom::Point const &p, Geom::Point const &origin, guint state); }; class PatternKnotHolderEntityAngle : public KnotHolderEntity { public: - virtual Geom::Point knot_get(); + virtual Geom::Point knot_get() const; virtual void knot_set(Geom::Point const &p, Geom::Point const &origin, guint state); }; class PatternKnotHolderEntityScale : public KnotHolderEntity { public: - virtual Geom::Point knot_get(); + virtual Geom::Point knot_get() const; virtual void knot_set(Geom::Point const &p, Geom::Point const &origin, guint state); }; |
