feat: Add option to create auto backups of files before they're modified

This commit is contained in:
WerWolv
2025-12-07 21:37:14 +01:00
parent c2e07bf7b2
commit 855e4c4913
8 changed files with 86 additions and 10 deletions

View File

@@ -13,9 +13,10 @@ namespace hex::plugin::builtin {
class FileProvider : public prv::Provider,
public prv::IProviderDataDescription,
public prv::IProviderFilePicker,
public prv::IProviderMenuItems {
public prv::IProviderMenuItems,
public prv::IProviderDataBackupable {
public:
FileProvider() = default;
FileProvider() : IProviderDataBackupable(this) {}
~FileProvider() override = default;
[[nodiscard]] bool isAvailable() const override;