X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSketchAPI%2FSketchAPI_Point.h;h=4fd35034814669a57bc54137b0d60787a5d7b49b;hb=59610176acaef6df307f9a2ec24fe3a14bfaef0b;hp=a680aacc6d69e6b2160071c9a4407cc8a0a60b93;hpb=d34842c50d5f335cca443c78910c16c54139c7d0;p=modules%2Fshaper.git diff --git a/src/SketchAPI/SketchAPI_Point.h b/src/SketchAPI/SketchAPI_Point.h index a680aacc6..4fd350348 100644 --- a/src/SketchAPI/SketchAPI_Point.h +++ b/src/SketchAPI/SketchAPI_Point.h @@ -1,8 +1,21 @@ -// Name : SketchAPI_Point.h -// Purpose: +// Copyright (C) 2014-2021 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: -// 15/06/16 - Sergey POKHODENKO - Creation of the file #ifndef SRC_SKETCHAPI_SKETCHAPI_POINT_H_ #define SRC_SKETCHAPI_SKETCHAPI_POINT_H_ @@ -43,14 +56,16 @@ public: /// Constructor with values SKETCHAPI_EXPORT SketchAPI_Point(const std::shared_ptr & theFeature, - const std::string & theExternalName); + const std::wstring & theExternalName); /// Destructor SKETCHAPI_EXPORT virtual ~SketchAPI_Point(); INTERFACE_2(SketchPlugin_Point::ID(), - coordinates, SketchPlugin_Point::COORD_ID(), GeomDataAPI_Point2D, /** Point coordinates */, - external, SketchPlugin_Point::EXTERNAL_ID(), ModelAPI_AttributeSelection, /** External */ + coordinates, SketchPlugin_Point::COORD_ID(), + GeomDataAPI_Point2D, /** Point coordinates */, + external, SketchPlugin_Point::EXTERNAL_ID(), + ModelAPI_AttributeSelection, /** External */ ) /// Set by coordinates @@ -67,7 +82,7 @@ public: /// Set by external name SKETCHAPI_EXPORT - void setByExternalName(const std::string & theExternalName); + void setByExternalName(const std::wstring & theExternalName); /// Dump wrapped feature SKETCHAPI_EXPORT