Salome HOME
Fix the python API of the savestate feature.
[modules/yacs.git] / src / runtime / VisitorSalomeSaveState.hxx
index a979f39a7629ddf8f4ecd888548b77a3fd14a84f..ceb4afd1d3de526540b75df4dd25b37dead3915e 100644 (file)
@@ -36,16 +36,9 @@ namespace YACS
       virtual void visitForEachLoop(ForEachLoop *node);
     };
 
-    class YACSLIBENGINE_EXPORT SchemaSaveState
-    {
-    public:
-      SchemaSaveState(Proc* proc, Executor* exec);
-      virtual ~SchemaSaveState();
-      virtual void save(std::string xmlSchemaFile);
-    private:
-      Proc* _p;
-      Executor* _exec;
-    };
+    YACSLIBENGINE_EXPORT void schemaSaveState(Proc* proc,
+                                              Executor* exec,
+                                              const std::string& xmlSchemaFile);
   }
 }
 #endif // VISITORSALOMESAVESTATE_HXX