pineapple-src/src/yuzu/configuration/configure_debug_controller.h

46 lines
903 B
C
Raw Normal View History

2020-12-28 10:15:37 -05: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 <QDialog>
class QPushButton;
class ConfigureInputPlayer;
class InputProfiles;
2021-11-14 17:19:09 -05:00
namespace Core {
class System;
2021-10-08 20:29:53 -04:00
}
2020-12-28 10:15:37 -05:00
namespace InputCommon {
class InputSubsystem;
}
namespace Ui {
class ConfigureDebugController;
}
class ConfigureDebugController : public QDialog {
Q_OBJECT
public:
explicit ConfigureDebugController(QWidget* parent, InputCommon::InputSubsystem* input_subsystem,
2021-11-14 17:19:09 -05:00
InputProfiles* profiles, Core::System& system);
2020-12-28 10:15:37 -05:00
~ConfigureDebugController() override;
void ApplyConfiguration();
private:
void changeEvent(QEvent* event) override;
void RetranslateUI();
std::unique_ptr<Ui::ConfigureDebugController> ui;
ConfigureInputPlayer* debug_controller;
};