]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ParametersAPI/ParametersAPI_Parameter.h
Salome HOME
bos #26444 Improve treatment of parameters
[modules/shaper.git] / src / ParametersAPI / ParametersAPI_Parameter.h
index 50bb1d3b8f4f2eb279959a83fdb2298581d186b5..8295db3ccf47e0d0f7d0b7365923ca1c735b70d4 100644 (file)
@@ -45,7 +45,7 @@ public:
   explicit ParametersAPI_Parameter(const  std::shared_ptr<ModelAPI_Feature> & theFeature,
                                    const std::string & theName,
                                    const std::string & theExpression,
-                                   const std::string & theComment = std::string());
+                                   const std::wstring & theComment = std::wstring());
   /// Destructor
   PARAMETERSAPI_EXPORT
   virtual ~ParametersAPI_Parameter();
@@ -80,7 +80,7 @@ PARAMETERSAPI_EXPORT
 ParameterPtr addParameter(const std::shared_ptr<ModelAPI_Document> & thePart,
                           const std::string & theName,
                           const std::string & theExpression,
-                          const std::string & theComment = std::string());
+                          const std::wstring & theComment = std::wstring());
 
 /**\ingroup CPPHighAPI
  * \brief Remove Parameter feature and substitute it by the value in referred features