15 #ifndef BORNAGAIN_GUI_COREGUI_MAINWINDOW_SAVELOADINTERFACE_H
16 #define BORNAGAIN_GUI_COREGUI_MAINWINDOW_SAVELOADINTERFACE_H
Purely virtual interface to handle non-XML data save and load.
virtual QString fileName() const =0
Reports file name to save/load non-XML data.
virtual bool load(const QString &projectDir)=0
Loads non-XML data from projectDir and returns success flag.
virtual bool containsNonXMLData() const =0
Checks if object owns non-XML data.
virtual QDateTime lastModified() const =0
Indicates last modification timepoint.
virtual bool save(const QString &projectDir)=0
Saves non-XML data in projectDir and returns success flag.
virtual ~SaveLoadInterface()
QString projectDir(const QString &projectFileName)
Returns project directory deduced from project file name.