Salome HOME
#18963 Minimize compiler warnings
[modules/paravis.git] / src / PVGUI / PVGUI_DataModel.h
index 755e0e28075416b3cc8218d730f610bbb1772452..af53f423cc638796e3b6ab2a5b77151b24d8ba08 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2015  CEA/DEN, EDF R&D
+// Copyright (C) 2010-2020  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
@@ -41,10 +41,18 @@ public:
 
   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& url, CAM_Study* study, QStringList& theListOfFiles );
   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_ */