2020-12-28 16:15:37 +01:00
|
|
|
// Copyright 2020 yuzu Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
#include <QWidget>
|
|
|
|
|
2021-10-09 02:29:53 +02:00
|
|
|
namespace Core {
|
|
|
|
class System;
|
|
|
|
}
|
|
|
|
|
2020-12-28 16:15:37 +01:00
|
|
|
namespace Ui {
|
|
|
|
class ConfigureCpuDebug;
|
|
|
|
}
|
|
|
|
|
|
|
|
class ConfigureCpuDebug : public QWidget {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2021-10-09 02:29:53 +02:00
|
|
|
explicit ConfigureCpuDebug(const Core::System& system_, QWidget* parent = nullptr);
|
2020-12-28 16:15:37 +01:00
|
|
|
~ConfigureCpuDebug() override;
|
|
|
|
|
|
|
|
void ApplyConfiguration();
|
|
|
|
|
|
|
|
private:
|
|
|
|
void changeEvent(QEvent* event) override;
|
|
|
|
void RetranslateUI();
|
|
|
|
|
|
|
|
void SetConfiguration();
|
|
|
|
|
|
|
|
std::unique_ptr<Ui::ConfigureCpuDebug> ui;
|
2021-10-09 02:29:53 +02:00
|
|
|
|
|
|
|
const Core::System& system;
|
2020-12-28 16:15:37 +01:00
|
|
|
};
|