X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Line.h;h=62dc6cfa971182255e968814247646764a89cb74;hb=5f35d8ba87be71ffb2166371c133dc84460b15e8;hp=7877a719153b9917a7098c0227823cd4a82f4460;hpb=0951dd3a93f5370e1b42aef86cccbe0aaa8df0a6;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Line.h b/src/SketchPlugin/SketchPlugin_Line.h index 7877a7191..62dc6cfa9 100644 --- a/src/SketchPlugin/SketchPlugin_Line.h +++ b/src/SketchPlugin/SketchPlugin_Line.h @@ -22,18 +22,18 @@ class SketchPlugin_Line: public SketchPlugin_Feature { public: /// Returns the kind of a feature - SKETCHPLUGIN_EXPORT virtual const std::string& getKind() + SKETCHPLUGIN_EXPORT virtual const std::string& getKind() {static std::string MY_KIND = "SketchLine"; return MY_KIND;} /// Returns to which group in the document must be added feature - SKETCHPLUGIN_EXPORT virtual const std::string& getGroup() + SKETCHPLUGIN_EXPORT virtual const std::string& getGroup() {static std::string MY_GROUP = "Sketch"; return MY_GROUP;} /// Creates a new part document if needed - SKETCHPLUGIN_EXPORT virtual void execute(); + SKETCHPLUGIN_EXPORT virtual void execute(); /// Request for initialization of data model of the feature: adding all attributes - SKETCHPLUGIN_EXPORT virtual void initAttributes(); + SKETCHPLUGIN_EXPORT virtual void initAttributes(); /// Returns the sketch preview SKETCHPLUGIN_EXPORT virtual const boost::shared_ptr& preview();