Salome HOME
Object Browser tree needed method implementation
[modules/shaper.git] / src / ParametersPlugin / ParametersPlugin_PyInterp.h
index 0e3cdee56401f7819ae60e5d31ce7a63102f2a99..32b5c6d31a7fc19de72e355af8290405a7ad7722 100644 (file)
@@ -13,6 +13,7 @@
 
 #include <list>
 #include <string>
+#include <utility>
 
 class PARAMETERSPLUGIN_EXPORT ParametersPlugin_PyInterp : public PyInterp_Interp
 {
@@ -20,6 +21,8 @@ class PARAMETERSPLUGIN_EXPORT ParametersPlugin_PyInterp : public PyInterp_Interp
   ParametersPlugin_PyInterp();
   virtual ~ParametersPlugin_PyInterp();
 
+  std::list<std::pair<int, int> > positions(const std::string& theExpression,
+                                            const std::string& theName);
   std::list<std::string> compile(const std::string&);
   void extendLocalContext(const std::list<std::string>&);
   void clearLocalContext();
@@ -29,6 +32,7 @@ class PARAMETERSPLUGIN_EXPORT ParametersPlugin_PyInterp : public PyInterp_Interp
   std::string errorMessage();
   // Overrides PyInterp_Interp
   virtual bool initContext();
+  virtual void closeContext();
 };
 
 #endif /* PARAMETERSPLUGIN_PYINTERP_H_ */