Salome HOME
It replaces using of direct value "SketchLine" to SKETCH_LINE_KIND, which is defined...
[modules/shaper.git] / src / PartSet / PartSet_OperationSketchLine.h
index cda1781c45b0c7289af0356d3524c8480f921ebc..9dd5dc6ccc92888000fa3b40cb30200d1dea039e 100644 (file)
@@ -8,6 +8,9 @@
 #include "PartSet.h"
 
 #include <PartSet_OperationSketchBase.h>
+
+#include <SketchPlugin_Line.h>
+
 #include <QObject>
 
 class GeomDataAPI_Point2D;
@@ -24,7 +27,7 @@ class PARTSET_EXPORT PartSet_OperationSketchLine : public PartSet_OperationSketc
 
 public:
   /// Returns the operation type key
-  static std::string Type() { return "SketchLine"; }
+  static std::string Type() { return SKETCH_LINE_KIND; }
 
 public:
   /// Constructor