Salome HOME
Issue #2863: Use Utf8 string for file selector
[modules/shaper.git] / src / ModelAPI / ModelAPI_AttributeString.h
index 93c7ca9c7c6c0b2be565de9d6d84c6bb4637afd0..803b0966a750bd3df2168d041e0e2267f0020d2e 100644 (file)
@@ -35,9 +35,13 @@ class ModelAPI_AttributeString : public ModelAPI_Attribute
  public:
   /// Defines the string value
   MODELAPI_EXPORT virtual void setValue(const std::string& theValue) = 0;
+  /// Defines the wstring value
+  MODELAPI_EXPORT virtual void setValue(const std::wstring& theValue) = 0;
 
   /// Returns the string value
   MODELAPI_EXPORT virtual std::string value() = 0;
+  /// Returns the wstring value
+  MODELAPI_EXPORT virtual std::wstring valueW() = 0;
 
   /// Returns the type of this class of attributes
   MODELAPI_EXPORT static std::string typeId()