mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-28 06:16:23 -05:00
a4c6712a4b
- Removes a dependency on core and input_common from common.
34 lines
653 B
C++
34 lines
653 B
C++
// 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>
|
|
#include "common/settings.h"
|
|
|
|
namespace Ui {
|
|
class ConfigureCpu;
|
|
}
|
|
|
|
class ConfigureCpu : public QWidget {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ConfigureCpu(QWidget* parent = nullptr);
|
|
~ConfigureCpu() override;
|
|
|
|
void ApplyConfiguration();
|
|
|
|
private:
|
|
void changeEvent(QEvent* event) override;
|
|
void RetranslateUI();
|
|
|
|
void AccuracyUpdated(int index);
|
|
void UpdateGroup(int index);
|
|
|
|
void SetConfiguration();
|
|
|
|
std::unique_ptr<Ui::ConfigureCpu> ui;
|
|
};
|