suyu/src/yuzu/compatdb.h

34 lines
663 B
C++
Raw Normal View History

2018-09-16 20:05:51 +02:00
// Copyright 2017 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
#include <memory>
#include <QFutureWatcher>
2018-09-16 20:05:51 +02:00
#include <QWizard>
#include "core/telemetry_session.h"
2018-09-16 20:05:51 +02:00
namespace Ui {
class CompatDB;
}
class CompatDB : public QWizard {
Q_OBJECT
public:
explicit CompatDB(Core::TelemetrySession& telemetry_session_, QWidget* parent = nullptr);
2018-09-16 20:05:51 +02:00
~CompatDB();
private:
QFutureWatcher<bool> testcase_watcher;
2018-09-16 20:05:51 +02:00
std::unique_ptr<Ui::CompatDB> ui;
void Submit();
void OnTestcaseSubmitted();
2018-09-16 20:05:51 +02:00
void EnableNext();
Core::TelemetrySession& telemetry_session;
2018-09-16 20:05:51 +02:00
};