mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
11402 Save copy of project file to a backup database when saving project file
This commit is contained in:
@@ -39,6 +39,8 @@
|
||||
#include "cafPdmField.h"
|
||||
#include "cafPdmObject.h"
|
||||
|
||||
class QXmlStreamWriter;
|
||||
|
||||
namespace caf
|
||||
{
|
||||
//==================================================================================================
|
||||
@@ -57,6 +59,8 @@ public:
|
||||
void readFile();
|
||||
bool writeFile();
|
||||
|
||||
QString documentAsString();
|
||||
|
||||
void readFile( QIODevice* device );
|
||||
void writeFile( QIODevice* device );
|
||||
|
||||
@@ -64,6 +68,9 @@ public:
|
||||
|
||||
protected:
|
||||
virtual void beforeInitAfterRead();
|
||||
|
||||
private:
|
||||
void writeDocumentToXmlStream( QXmlStreamWriter& xmlStream );
|
||||
};
|
||||
|
||||
} // End of namespace caf
|
||||
|
||||
Reference in New Issue
Block a user