X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSetAPI%2FPartSetAPI_Part.h;h=2cc3111a5aa9252f69434fea0199d36fd37a43f1;hb=424c919fb1637e2f26d32ffba6ff6dc513a779b5;hp=ccdcfdb5a2fce2f6773dc577c6f7315f8d4fd0d1;hpb=423c10234142d14d0d5de89383f2f96a4ec5930f;p=modules%2Fshaper.git diff --git a/src/PartSetAPI/PartSetAPI_Part.h b/src/PartSetAPI/PartSetAPI_Part.h index ccdcfdb5a..2cc3111a5 100644 --- a/src/PartSetAPI/PartSetAPI_Part.h +++ b/src/PartSetAPI/PartSetAPI_Part.h @@ -1,9 +1,22 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -// Name : PartSetAPI_Part.h -// Purpose: +// Copyright (C) 2014-2017 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_ @@ -56,13 +69,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); //-------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------