pineapple/src/yuzu/compatdb.h

33 lines
634 B
C
Raw Normal View History

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