Salome HOME
Issue #2112 performance for partition
[modules/shaper.git] / src / PartSetAPI / PartSetAPI_Part.h
index 46b1dd5586ca273aa29a25d26232398f89a1780c..90977f01cffae1db546f95ab40af293707588ba4 100644 (file)
@@ -1,5 +1,6 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
 // Name   : PartSetAPI_Part.h
-// Purpose: 
+// Purpose:
 //
 // History:
 // 16/06/16 - Sergey POKHODENKO - Creation of the file
@@ -55,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);
 
 //--------------------------------------------------------------------------------------
 //--------------------------------------------------------------------------------------