X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_ConstraintParallel.h;h=ac209b68fd75988661bfdccae9418d0e18234a30;hb=2b4f4bf278c841500eb29bb5d204690427b0d56b;hp=ed45ba7bf20f5c9f823643feaa15ea55852cde5e;hpb=78ee6c26e0b4e8a14ef4b2beedf6e7f83479bd7f;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_ConstraintParallel.h b/src/SketchPlugin/SketchPlugin_ConstraintParallel.h index ed45ba7bf..ac209b68f 100644 --- a/src/SketchPlugin/SketchPlugin_ConstraintParallel.h +++ b/src/SketchPlugin/SketchPlugin_ConstraintParallel.h @@ -9,6 +9,8 @@ #include #include "SketchPlugin_Constraint.h" +/// Parallel constraint kind +const std::string SKETCH_CONSTRAINT_PARALLEL_KIND("SketchConstraintParallel"); /** \class SketchPlugin_ConstraintParallel * \ingroup DataModel @@ -22,7 +24,7 @@ class SketchPlugin_ConstraintParallel: public SketchPlugin_Constraint public: /// \brief Returns the kind of a feature SKETCHPLUGIN_EXPORT virtual const std::string& getKind() - {static std::string MY_KIND = "SketchConstraintParallel"; return MY_KIND;} + {static std::string MY_KIND = SKETCH_CONSTRAINT_PARALLEL_KIND; return MY_KIND;} /// \brief Returns to which group in the document must be added feature SKETCHPLUGIN_EXPORT virtual const std::string& getGroup()