Salome HOME
updated copyright message
[modules/shaper.git] / src / Selector / Selector_NameGenerator.h
index 2a819a3ff0a8db6947fb649b51abd772371cb472..0c63924b39b3eb008bf1a014c09f93c1451ee889 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  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
@@ -37,11 +37,11 @@ public:
   Selector_NameGenerator() {};
 
   /// This method returns the context name by the label of the sub-selected shape
-  virtual std::string contextName(const TDF_Label theSelectionLab) = 0;
+  virtual std::wstring contextName(const TDF_Label theSelectionLab) = 0;
 
   /// This method restores by the context and value name the context label and
   /// sub-label where the value is. Returns true if it is valid.
-  virtual bool restoreContext(std::string theName,
+  virtual bool restoreContext(std::wstring theName,
     TDF_Label& theContext, TDF_Label& theValue) = 0;
 
   /// Returns true if the first result is older than the second one in the tree of features