Options for Data Migration (#95)

Copy, move, or link

Co-authored-by: KeatonTheBot <onikeaton@gmail.com>
Signed-off-by: swurl <swurl@swurl.xyz>

Reviewed-on: eden-emu/eden#95
Co-authored-by: swurl <swurl@swurl.xyz>
Co-committed-by: swurl <swurl@swurl.xyz>
This commit is contained in:
swurl 2025-05-10 15:40:15 +00:00 committed by crueter
parent 09c72e9f98
commit 28d2b06380
6 changed files with 270 additions and 57 deletions

View file

@ -21,7 +21,14 @@ private:
Suyu,
};
enum class MigrationStrategy {
Copy,
Move,
Link,
};
void ShowMigrationPrompt(QMainWindow* main_window);
void ShowMigrationCancelledMessage(QMainWindow* main_window);
void MigrateUserData(QMainWindow* main_window, const LegacyEmu selected_legacy_emu, const bool clear_shader_cache);
void MigrateUserData(QMainWindow* main_window, const LegacyEmu selected_legacy_emu,
const bool clear_shader_cache, const MigrationStrategy strategy);
};