Salome HOME
Fix for import/export features
[modules/shaper.git] / src / ParametersPlugin / ParametersPlugin_PyInterp.h
index 4151f4e231cf192a3dd18c3cb26b06b7db318dd0..0a631f6e22f42ce3e30251ad9869bc29efd3f12a 100644 (file)
@@ -22,12 +22,14 @@ class PARAMETERSPLUGIN_EXPORT ParametersPlugin_PyInterp : public PyInterp_Interp
 
   std::list<std::string> compile(const std::string&);
   void extendLocalContext(const std::list<std::string>&);
+  void clearLocalContext();
   double evaluate(const std::string&, std::string&);
 
  protected:
   std::string errorMessage();
   // Overrides PyInterp_Interp
   virtual bool initContext();
+  virtual void closeContext();
 };
 
 #endif /* PARAMETERSPLUGIN_PYINTERP_H_ */