X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSetAPI%2FPartSetAPI_Part.h;h=a93a68ce3271b612d2932f540ef8e0289f333c23;hb=63ba1dd6387b76f8d2710955f8aebf9cf613058c;hp=46b1dd5586ca273aa29a25d26232398f89a1780c;hpb=483750cc09178e5fa392706e5d73820b1fe5ecfb;p=modules%2Fshaper.git diff --git a/src/PartSetAPI/PartSetAPI_Part.h b/src/PartSetAPI/PartSetAPI_Part.h index 46b1dd558..a93a68ce3 100644 --- a/src/PartSetAPI/PartSetAPI_Part.h +++ b/src/PartSetAPI/PartSetAPI_Part.h @@ -1,8 +1,21 @@ -// Name : PartSetAPI_Part.h -// Purpose: +// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// History: -// 16/06/16 - Sergey POKHODENKO - Creation of the file #ifndef SRC_PARTSETAPI_PARTSETAPI_PART_H_ #define SRC_PARTSETAPI_PARTSETAPI_PART_H_ @@ -55,13 +68,13 @@ PartPtr addPart(const std::shared_ptr & thePartSet); * \brief Duplicate Part feature */ PARTSETAPI_EXPORT -PartPtr duplicatePart(const std::shared_ptr & thePart); +PartPtr duplicatePart(const ModelHighAPI_Interface& thePart); /**\ingroup CPPHighAPI * \brief Remove Part feature */ PARTSETAPI_EXPORT -void removePart(const std::shared_ptr & thePart); +void removePart(const ModelHighAPI_Interface& thePart); //-------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------