Backup setting on exit to plugin config dir

Only one version of the settings file will be kept per scene collection
and plugin version combination
This commit is contained in:
WarmUpTill
2024-02-27 21:19:49 +01:00
committed by WarmUpTill
parent f50f31ec4c
commit 2b2bab8fbc
6 changed files with 106 additions and 30 deletions

9
lib/utils/backup.hpp Normal file
View File

@@ -0,0 +1,9 @@
#pragma once
#include <QString>
namespace advss {
void AskForBackup(const QString &json);
void BackupSettingsOfCurrentVersion();
} // namespace advss