Salome HOME
updated copyright message
[modules/shaper.git] / src / ModelHighAPI / ModelHighAPI_Interface.h
index 054dd1c36ec8cd655b285d0e14ffd664ca84c519..e741e55ab17851b03eca76e020c00bbb13a4fb96 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2017  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 //
 // 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
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
 #ifndef SRC_MODELHIGHAPI_MODELHIGHAPI_INTERFACE_H_
@@ -69,7 +68,11 @@ public:
 
   /// Shortcut for feature()->data()->setName()
   MODELHIGHAPI_EXPORT
-  void setName(const std::string& theName);
+  void setName(const std::wstring& theName);
+
+  /// Shortcut for feature()->data()->name()
+  MODELHIGHAPI_EXPORT
+  std::wstring name() const;
 
   /// Return firts object of the feature
   MODELHIGHAPI_EXPORT
@@ -93,7 +96,7 @@ public:
 
   /// Dump wrapped feature
   MODELHIGHAPI_EXPORT
-  virtual void dump(ModelHighAPI_Dumper& theDumper) const {}
+  virtual void dump(ModelHighAPI_Dumper& /*theDumper*/) const {}
 
 protected:
   std::shared_ptr<ModelAPI_Feature> myFeature; ///< feature of this interface