Files
eden/src/yuzu/configuration/configure_system.h
T

47 lines
819 B
C++
Raw Normal View History

2022-05-15 02:06:02 +02:00
// SPDX-FileCopyrightText: 2016 Citra Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
2016-06-01 10:43:33 +03:00
#pragma once
2016-09-18 09:38:01 +09:00
#include <memory>
2016-09-21 00:21:23 +09:00
#include <QWidget>
namespace Core {
class System;
}
namespace ConfigurationShared {
enum class CheckState;
}
2016-06-01 10:43:33 +03:00
namespace Ui {
class ConfigureSystem;
}
2016-09-18 09:38:01 +09:00
class ConfigureSystem : public QWidget {
2016-06-01 10:43:33 +03:00
Q_OBJECT
public:
explicit ConfigureSystem(Core::System& system_, QWidget* parent = nullptr);
~ConfigureSystem() override;
2016-06-01 10:43:33 +03:00
void ApplyConfiguration();
void SetConfiguration();
2016-06-01 10:43:33 +03:00
2018-10-25 16:43:42 -04:00
private:
void changeEvent(QEvent* event) override;
void RetranslateUI();
2018-10-25 16:43:42 -04:00
void ReadSystemSettings();
void SetupPerGameUI();
2016-06-01 10:43:33 +03:00
std::unique_ptr<Ui::ConfigureSystem> ui;
bool enabled = false;
2016-06-01 10:43:33 +03:00
ConfigurationShared::CheckState use_rng_seed;
Core::System& system;
2016-06-01 10:43:33 +03:00
};