- In commit b3facaa6bb, the copyright header was
updated to include "Citron Homebrew Project" across multiple files, regardless
of whether any contributions were made.
- This commit removes the incorrect attribution and reverts the copyright header
to its previous state.
- Copyright attribution should only be added when meaningful contributions have
been made to the file.
- This commit ensures proper compliance with copyright standards and maintains
correct attribution to the respective contributors.
- Special thanks to Tachi for pointing out the need for these corrections and
ensuring that proper attribution practices are followed.
43 lines
873 B
C++
43 lines
873 B
C++
// SPDX-FileCopyrightText: 2017 Citra Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
#include <QFutureWatcher>
|
|
#include <QWizard>
|
|
#include "core/telemetry_session.h"
|
|
|
|
namespace Ui {
|
|
class CompatDB;
|
|
}
|
|
|
|
enum class CompatibilityStatus {
|
|
Perfect = 0,
|
|
Playable = 1,
|
|
// Unused: Okay = 2,
|
|
Ingame = 3,
|
|
IntroMenu = 4,
|
|
WontBoot = 5,
|
|
};
|
|
|
|
class CompatDB : public QWizard {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit CompatDB(Core::TelemetrySession& telemetry_session_, QWidget* parent = nullptr);
|
|
~CompatDB();
|
|
int nextId() const override;
|
|
|
|
private:
|
|
QFutureWatcher<bool> testcase_watcher;
|
|
|
|
std::unique_ptr<Ui::CompatDB> ui;
|
|
|
|
void Submit();
|
|
CompatibilityStatus CalculateCompatibility() const;
|
|
void OnTestcaseSubmitted();
|
|
void EnableNext();
|
|
|
|
Core::TelemetrySession& telemetry_session;
|
|
};
|