mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 04:05:45 +00:00
Signed-off-by: crueter <swurl@swurl.xyz> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/167 Co-authored-by: crueter <swurl@swurl.xyz> Co-committed-by: crueter <swurl@swurl.xyz>
27 lines
844 B
C++
27 lines
844 B
C++
// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
// Copyright Citra Emulator Project / Azahar Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <QMainWindow>
|
|
#include "migration_worker.h"
|
|
|
|
class UserDataMigrator {
|
|
public:
|
|
UserDataMigrator(QMainWindow* main_window);
|
|
|
|
bool migrated{false};
|
|
Emulator selected_emu;
|
|
|
|
private:
|
|
void ShowMigrationPrompt(QMainWindow* main_window);
|
|
void ShowMigrationCancelledMessage(QMainWindow* main_window);
|
|
void MigrateUserData(QMainWindow* main_window,
|
|
const Emulator selected_legacy_emu,
|
|
const bool clear_shader_cache,
|
|
const MigrationWorker::MigrationStrategy strategy);
|
|
};
|