Salome HOME
Small refactor.
[modules/paravis.git] / src / PVGUI / PVGUI_DataModel.h
index 7bd0f93e7f7b50dc57f5e6f6fe212a2513991c28..16220c6211891bfc4d88239bd97aec077f4627bb 100644 (file)
@@ -40,7 +40,19 @@ public:
   virtual ~PVGUI_DataModel();
 
   virtual bool dumpPython( const QString&,  CAM_Study*, bool, QStringList& );
+  virtual bool open( const QString&, CAM_Study*, QStringList );
+  virtual bool save( QStringList& );
+  virtual bool saveAs( const QString&, CAM_Study*, QStringList& );
+  virtual bool create( CAM_Study* );
 
+private:
+  void publishComponent(CAM_Study*);
+
+  bool createAndCheckRestoreFlag(const QString& tmpdir, QStringList& listOfFiles, bool & alreadyThere);
+
+  QString              myStudyURL;
+
+  static const QString RESTORE_FLAG_FILE;
 };
 
 #endif /* PVGUIDATAMODEL_H_ */