X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Line.h;h=f6d895974b981354c6eda92f0ba9c2f95f4a2dd8;hb=74e9ba33303efc2282db1261706e904efa36b255;hp=be5fadaad66033f31cbf06f746750f9cfc69f55c;hpb=7bf19255421b34594c7b0a76d0ce28166d0ce895;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Line.h b/src/SketchPlugin/SketchPlugin_Line.h index be5fadaad..f6d895974 100644 --- a/src/SketchPlugin/SketchPlugin_Line.h +++ b/src/SketchPlugin/SketchPlugin_Line.h @@ -8,15 +8,15 @@ #define SketchPlugin_Line_H_ #include "SketchPlugin.h" -#include +#include #include #include /**\class SketchPlugin_Line - * \ingroup DataModel + * \ingroup Plugins * \brief Feature for creation of the new part in PartSet. */ -class SketchPlugin_Line : public SketchPlugin_Feature +class SketchPlugin_Line : public SketchPlugin_SketchEntity { public: /// Arc feature kind @@ -39,11 +39,7 @@ class SketchPlugin_Line : public SketchPlugin_Feature } /// Returns the kind of a feature - SKETCHPLUGIN_EXPORT virtual const std::string& getKind() - { - static std::string MY_KIND = SketchPlugin_Line::ID(); - return MY_KIND; - } + SKETCHPLUGIN_EXPORT virtual const std::string& getKind(); /// Returns true is sketch element is under the rigid constraint SKETCHPLUGIN_EXPORT virtual bool isFixed();