X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Point.h;h=4c774715757edc8463ee320102c7699d01f70ed7;hb=66859c0ae6411d853ce27be9502d3b2f9d9bd5d1;hp=a60f9bebab70a1e73c8619b6ebda4125aaca165e;hpb=07bc7fd1c59cbe7a2d916654edf77409670f215b;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Point.h b/src/SketchPlugin/SketchPlugin_Point.h index a60f9beba..4c7747157 100644 --- a/src/SketchPlugin/SketchPlugin_Point.h +++ b/src/SketchPlugin/SketchPlugin_Point.h @@ -9,14 +9,14 @@ #include "SketchPlugin.h" #include -#include "SketchPlugin_Feature.h" +#include "SketchPlugin_SketchEntity.h" #include /**\class SketchPlugin_Point - * \ingroup DataModel + * \ingroup Plugins * \brief Feature for creation of a new point. */ -class SketchPlugin_Point : public SketchPlugin_Feature +class SketchPlugin_Point : public SketchPlugin_SketchEntity { public: /// Point feature kind @@ -56,6 +56,9 @@ class SketchPlugin_Point : public SketchPlugin_Feature /// \param thePoint the point virtual double distanceToPoint(const std::shared_ptr& thePoint); + /// Called on change of any argument-attribute of this object: for external point + SKETCHPLUGIN_EXPORT virtual void attributeChanged(const std::string& theID); + /// Use plugin manager for features creation SketchPlugin_Point(); };