Salome HOME
Added a unit test for Parts remove and duplicate API
[modules/shaper.git] / src / PartSetAPI / PartSetAPI_Part.h
index ccdcfdb5a2fce2f6773dc577c6f7315f8d4fd0d1..90977f01cffae1db546f95ab40af293707588ba4 100644 (file)
@@ -56,13 +56,13 @@ PartPtr addPart(const std::shared_ptr<ModelAPI_Document> & thePartSet);
  * \brief Duplicate Part feature
  */
 PARTSETAPI_EXPORT
-PartPtr duplicatePart(const std::shared_ptr<ModelAPI_Document> & thePart);
+PartPtr duplicatePart(const ModelHighAPI_Interface& thePart);
 
 /**\ingroup CPPHighAPI
  * \brief Remove Part feature
  */
 PARTSETAPI_EXPORT
-void removePart(const std::shared_ptr<ModelAPI_Document> & thePart);
+void removePart(const ModelHighAPI_Interface& thePart);
 
 //--------------------------------------------------------------------------------------
 //--------------------------------------------------------------------------------------