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

45 lines
1.0 KiB
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>
2023-05-05 23:30:59 -04:00
#include "yuzu/configuration/configuration_shared.h"
namespace Core {
class System;
}
2016-06-01 10:43:33 +03:00
namespace Ui {
class ConfigureSystem;
}
2023-05-05 23:30:59 -04:00
class ConfigureSystem : public ConfigurationShared::Tab {
2016-06-01 10:43:33 +03:00
public:
2023-05-05 23:30:59 -04:00
explicit ConfigureSystem(Core::System& system_,
std::shared_ptr<std::forward_list<ConfigurationShared::Tab*>> group,
QWidget* parent = nullptr);
~ConfigureSystem() override;
2016-06-01 10:43:33 +03:00
2023-05-05 23:30:59 -04:00
void ApplyConfiguration() override;
void SetConfiguration() override;
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;
ConfigurationShared::CheckState use_unsafe_extended_memory_layout;
Core::System& system;
2016-06-01 10:43:33 +03:00
};