X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FParametersPlugin%2FParametersPlugin_EvalListener.h;h=76639caef039b10245949a594ea85a53ffc14166;hb=09dabb6acd9664f589a0bd9415d804d7a37ab801;hp=96181169a88382d1112348ab5c66fcc975bf59b0;hpb=7807756f46b9dcd90994ac57a8a514f0570e794e;p=modules%2Fshaper.git diff --git a/src/ParametersPlugin/ParametersPlugin_EvalListener.h b/src/ParametersPlugin/ParametersPlugin_EvalListener.h index 96181169a..76639caef 100644 --- a/src/ParametersPlugin/ParametersPlugin_EvalListener.h +++ b/src/ParametersPlugin/ParametersPlugin_EvalListener.h @@ -13,6 +13,7 @@ class ModelAPI_Attribute; class ModelAPI_Document; +class ModelAPI_Feature; class ModelAPI_ResultParameter; class ParametersPlugin_Parameter; class ParametersPlugin_PyInterp; @@ -33,8 +34,8 @@ class ParametersPlugin_EvalListener : public Events_Listener protected: /// Evaluates theExpression and returns its value. - double evaluate(const std::string& theExpression, std::string& theError, - const std::shared_ptr& theDocument); + double evaluate(std::shared_ptr theParameter, + const std::string& theExpression, std::string& theError); /// Processes Evaluation event. void processEvaluationEvent(const std::shared_ptr& theMessage);