2016-01-24 18:34:05 +01:00
|
|
|
// Copyright 2016 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2016-01-24 21:54:04 +01:00
|
|
|
#pragma once
|
2016-01-24 18:34:05 +01:00
|
|
|
|
2016-09-18 09:38:01 +09:00
|
|
|
#include <memory>
|
2016-09-21 00:21:23 +09:00
|
|
|
#include <QWidget>
|
2016-01-24 18:34:05 +01:00
|
|
|
|
2021-09-02 21:40:55 -04:00
|
|
|
namespace Core {
|
|
|
|
class System;
|
|
|
|
}
|
|
|
|
|
2016-01-24 18:34:05 +01:00
|
|
|
namespace Ui {
|
|
|
|
class ConfigureDebug;
|
|
|
|
}
|
|
|
|
|
2016-09-18 09:38:01 +09:00
|
|
|
class ConfigureDebug : public QWidget {
|
2016-01-24 18:34:05 +01:00
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2021-07-30 10:07:32 -04:00
|
|
|
explicit ConfigureDebug(const Core::System& system_, QWidget* parent = nullptr);
|
2018-12-02 14:10:28 -05:00
|
|
|
~ConfigureDebug() override;
|
2016-01-24 18:34:05 +01:00
|
|
|
|
2019-05-26 00:39:23 -04:00
|
|
|
void ApplyConfiguration();
|
2016-01-24 18:34:05 +01:00
|
|
|
|
|
|
|
private:
|
2019-06-05 18:39:46 -04:00
|
|
|
void changeEvent(QEvent* event) override;
|
|
|
|
|
|
|
|
void RetranslateUI();
|
2019-05-26 00:39:23 -04:00
|
|
|
void SetConfiguration();
|
2016-01-24 18:34:05 +01:00
|
|
|
|
2016-01-24 21:54:04 +01:00
|
|
|
std::unique_ptr<Ui::ConfigureDebug> ui;
|
2021-09-02 21:40:55 -04:00
|
|
|
|
2021-07-30 10:07:32 -04:00
|
|
|
const Core::System& system;
|
2016-01-24 18:34:05 +01:00
|
|
|
};
|