2021-08-13 07:06:50 +02:00
|
|
|
// Copyright 2019 yuzu Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class ConfigureNetwork;
|
|
|
|
}
|
|
|
|
|
|
|
|
class ConfigureNetwork : public QWidget {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2021-10-09 02:29:53 +02:00
|
|
|
explicit ConfigureNetwork(const Core::System& system_, QWidget* parent = nullptr);
|
2021-08-13 07:06:50 +02:00
|
|
|
~ConfigureNetwork() override;
|
|
|
|
|
|
|
|
void ApplyConfiguration();
|
|
|
|
void RetranslateUi();
|
|
|
|
|
|
|
|
private:
|
|
|
|
void SetConfiguration();
|
|
|
|
|
|
|
|
std::unique_ptr<Ui::ConfigureNetwork> ui;
|
2021-10-09 02:29:53 +02:00
|
|
|
|
|
|
|
const Core::System& system;
|
2021-08-13 07:06:50 +02:00
|
|
|
};
|