Salome HOME
Small refactor.
[modules/paravis.git] / src / PVGUI / PVGUI_DataModel.h
index 426b98e205800bbd15056f6357b5a7f4d43e1dc7..16220c6211891bfc4d88239bd97aec077f4627bb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2010-2015  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -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_ */