Salome HOME
Added interfaces to OCC data and algos: features must not depend on OCC
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Feature.cpp
index 57bc3582d406a411e1e1cecd1029b40c14d2077c..27040b92d88233ed76e4bd3597fec416f546ca31 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * Returns the sketch preview
  */
-const TopoDS_Shape& SketchPlugin_Feature::preview()
+const std::shared_ptr<GeomAPI_Shape>& SketchPlugin_Feature::preview()
 {
   return myPreview;
 }
@@ -12,7 +12,7 @@ const TopoDS_Shape& SketchPlugin_Feature::preview()
  * Set the shape to the internal preview field
  * \param theShape a preview shape
  */
-void SketchPlugin_Feature::setPreview(const TopoDS_Shape& theShape)
+void SketchPlugin_Feature::setPreview(const std::shared_ptr<GeomAPI_Shape>& theShape)
 {
   myPreview = theShape;
 }