2018-01-02 02:25:38 +01:00
|
|
|
// Copyright 2017 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <memory>
|
2018-10-26 16:21:45 +02:00
|
|
|
#include <QFutureWatcher>
|
2018-01-02 02:25:38 +01:00
|
|
|
#include <QWizard>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class CompatDB;
|
|
|
|
}
|
|
|
|
|
|
|
|
class CompatDB : public QWizard {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit CompatDB(QWidget* parent = nullptr);
|
|
|
|
~CompatDB();
|
|
|
|
|
|
|
|
private:
|
2018-10-26 16:21:45 +02:00
|
|
|
QFutureWatcher<bool> testcase_watcher;
|
|
|
|
|
2018-01-02 02:25:38 +01:00
|
|
|
std::unique_ptr<Ui::CompatDB> ui;
|
|
|
|
|
|
|
|
void Submit();
|
2018-10-26 16:21:45 +02:00
|
|
|
void OnTestcaseSubmitted();
|
2018-01-02 02:25:38 +01:00
|
|
|
void EnableNext();
|
|
|
|
};
|