project: implemented autorecovery core

Not done yet, but nearly.
This commit is contained in:
itsmattkc
2021-04-01 13:10:43 +11:00
parent 6a841bde82
commit 0ee98a47ea
14 changed files with 504 additions and 56 deletions
+11 -1
View File
@@ -298,6 +298,8 @@ public:
*/
void ShowStatusBarMessage(const QString& s);
void OpenRecoveryProject(const QString& filename);
static const uint kProjectVersion;
public slots:
@@ -405,6 +407,10 @@ public slots:
*/
void CreateNewProject();
void CheckForAutoRecoveries();
void BrowseAutoRecoveries();
signals:
/**
* @brief Signal emitted when a project is opened
@@ -485,13 +491,17 @@ private:
/**
* @brief Internal function for saving a project to a file
*/
void SaveProjectInternal(Project *project);
void SaveProjectInternal(Project *project, const QString &override_filename = QString());
/**
* @brief Retrieves the currently most active sequence for exporting
*/
Sequence* GetSequenceToExport();
static QString GetAutoRecoveryIndexFilename();
static QString GetAutoRecoveryRoot();
/**
* @brief Internal main window object
*/