2016-01-24 17:34:05 +00:00
|
|
|
// Copyright 2016 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2016-01-24 20:54:04 +00:00
|
|
|
#pragma once
|
2016-01-24 17:34:05 +00:00
|
|
|
|
2016-01-24 20:54:04 +00:00
|
|
|
#include <memory>
|
2016-01-24 17:34:05 +00:00
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class ConfigureDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class ConfigureDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2016-06-01 07:43:33 +00:00
|
|
|
explicit ConfigureDialog(QWidget *parent, bool emulation_running);
|
2016-01-24 17:34:05 +00:00
|
|
|
~ConfigureDialog();
|
|
|
|
|
|
|
|
void applyConfiguration();
|
|
|
|
|
|
|
|
private:
|
|
|
|
void setConfiguration();
|
|
|
|
|
|
|
|
private:
|
2016-01-24 20:54:04 +00:00
|
|
|
std::unique_ptr<Ui::ConfigureDialog> ui;
|
2016-06-01 07:43:33 +00:00
|
|
|
bool emulation_running;
|
2016-01-24 17:34:05 +00:00
|
|
|
};
|