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