X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_Data.h;h=17e8feb747ff1f0553776bd17be82a43fbe4b573;hb=f14192492e36f4febc93b2ad7ab7f866cbbdf71b;hp=fa833bdd32cd5a196db37dfad015c76aa49dfb3b;hpb=c68483238115b437c5e0b37de859fd8ca9676000;p=modules%2Fshaper.git diff --git a/src/Model/Model_Data.h b/src/Model/Model_Data.h index fa833bdd3..17e8feb74 100644 --- a/src/Model/Model_Data.h +++ b/src/Model/Model_Data.h @@ -102,9 +102,9 @@ class Model_Data : public ModelAPI_Data /// The simplest constructor. "setLabel" must be called just after to initialize correctly. Model_Data(); /// Returns the name of the feature visible by the user in the object browser - MODEL_EXPORT virtual std::string name(); + MODEL_EXPORT virtual std::wstring name(); /// Defines the name of the feature visible by the user in the object browser - MODEL_EXPORT virtual void setName(const std::string& theName); + MODEL_EXPORT virtual void setName(const std::wstring& theName); /// Return \c true if the object has been renamed by the user MODEL_EXPORT virtual bool hasUserDefinedName() const; /// Returns version of the feature (empty string if not applicable)