Salome HOME
Provide connection of new features in SALOME module
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_ConstraintParallel.h
index ed45ba7bf20f5c9f823643feaa15ea55852cde5e..ac209b68fd75988661bfdccae9418d0e18234a30 100644 (file)
@@ -9,6 +9,8 @@
 #include <SketchPlugin_Sketch.h>
 #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()