Salome HOME
Update to use the latest version of TInspector (OCCT 7.5.3)
[modules/shaper.git] / src / Model / Model_AttributeSelectionList.h
index 2db50d9b400f5b49254550a7493886c7bcbd24ec..a8b7df78499d611ca35606decc35889339403660 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// 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
@@ -56,14 +56,16 @@ public:
 
   /// Adds the new reference to the end of the list by the naming name of the selected shape
   /// The type of shape is taken from the current selection type if the given is empty
-  MODEL_EXPORT virtual void append(const std::string& theNamingName, const std::string& theType="");
+  MODEL_EXPORT virtual void append(const std::wstring& theNamingName,
+                                   const std::string& theType="");
 
   /// Adds the new reference to the end of the list by inner point on the selected shape
   MODEL_EXPORT virtual void append(const std::shared_ptr<GeomAPI_Pnt>& thePoint,
                                    const std::string& theType);
 
   /// Adds the new reference to the end of the list by weak naming index
-  MODEL_EXPORT virtual void append(const std::string& theType, const std::string& theContextName,
+  MODEL_EXPORT virtual void append(const std::string& theType,
+                                   const std::wstring& theContextName,
                                    const int theIndex);
 
   /// Copy the selection list to the destination attribute