2022-07-27 14:06:50 -04:00
|
|
|
// SPDX-FileCopyrightText: 2017 Citra Emulator Project
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2020-12-28 10:15:37 -05:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
#include <QFutureWatcher>
|
|
|
|
#include <QWizard>
|
2021-10-08 20:29:53 -04:00
|
|
|
#include "core/telemetry_session.h"
|
2020-12-28 10:15:37 -05:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class CompatDB;
|
|
|
|
}
|
|
|
|
|
|
|
|
class CompatDB : public QWizard {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2021-10-08 20:29:53 -04:00
|
|
|
explicit CompatDB(Core::TelemetrySession& telemetry_session_, QWidget* parent = nullptr);
|
2020-12-28 10:15:37 -05:00
|
|
|
~CompatDB();
|
|
|
|
|
|
|
|
private:
|
|
|
|
QFutureWatcher<bool> testcase_watcher;
|
|
|
|
|
|
|
|
std::unique_ptr<Ui::CompatDB> ui;
|
|
|
|
|
|
|
|
void Submit();
|
|
|
|
void OnTestcaseSubmitted();
|
|
|
|
void EnableNext();
|
2021-10-08 20:29:53 -04:00
|
|
|
|
|
|
|
Core::TelemetrySession& telemetry_session;
|
2020-12-28 10:15:37 -05:00
|
|
|
};
|