diff options
author | FearlessTobi <thm.frey@gmail.com> | 2022-10-26 15:03:55 +0200 |
---|---|---|
committer | FearlessTobi <thm.frey@gmail.com> | 2022-11-10 21:36:22 +0100 |
commit | 26a1d4fc371da91c11cb0a33a2a07cfdc822165b (patch) | |
tree | 8ad91f130463d87edae2494967212d42ac704e96 /src/yuzu/compatdb.h | |
parent | 3c38bd7cf0dbe73f72c008cb6fc0df38b50dc986 (diff) |
yuzu/compatdb: Rework compatibility submission system
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
Diffstat (limited to 'src/yuzu/compatdb.h')
-rw-r--r-- | src/yuzu/compatdb.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/yuzu/compatdb.h b/src/yuzu/compatdb.h index 3252fc47a..37e11278b 100644 --- a/src/yuzu/compatdb.h +++ b/src/yuzu/compatdb.h @@ -12,12 +12,22 @@ 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; @@ -25,6 +35,7 @@ private: std::unique_ptr<Ui::CompatDB> ui; void Submit(); + CompatibilityStatus CalculateCompatibility() const; void OnTestcaseSubmitted(); void EnableNext(); |