X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FParametersPlugin%2FParametersPlugin_Parameter.h;h=5f2689c5fb55c868e38883bdc1dcba3c01e184b6;hb=b38bb339a84175749f2742d906db858e3377c86b;hp=47a0d30721b693f78600e3be5bfc059212f4a92f;hpb=34afe547352180006fee9600173c4dc93dc1f6c3;p=modules%2Fshaper.git diff --git a/src/ParametersPlugin/ParametersPlugin_Parameter.h b/src/ParametersPlugin/ParametersPlugin_Parameter.h index 47a0d3072..5f2689c5f 100644 --- a/src/ParametersPlugin/ParametersPlugin_Parameter.h +++ b/src/ParametersPlugin/ParametersPlugin_Parameter.h @@ -12,8 +12,6 @@ #include -class ParametersPlugin_PyInterp; - /** * \class ParametersPlugin_Parameter * \ingroup Plugins @@ -55,6 +53,13 @@ class ParametersPlugin_Parameter : public ModelAPI_Feature return MY_ARGUMENTS_ID; } + /// return comment attribute Id + inline static const std::string& COMMENT_ID() + { + static const std::string MY_COMMENT_ID("comment"); + return MY_COMMENT_ID; + } + /// Returns the kind of a feature PARAMETERSPLUGIN_EXPORT virtual const std::string& getKind() { @@ -87,9 +92,6 @@ class ParametersPlugin_Parameter : public ModelAPI_Feature void updateName(); /// Updates expression of the parameter bool updateExpression(); - - private: - std::shared_ptr myInterp; }; #endif