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