2022-04-23 20:49:07 +02:00
|
|
|
// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2021-08-13 07:06:50 +02:00
|
|
|
|
|
|
|
#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();
|
|
|
|
|
|
|
|
private:
|
2022-05-02 09:19:24 +02:00
|
|
|
void changeEvent(QEvent*) override;
|
|
|
|
void RetranslateUI();
|
2021-08-13 07:06:50 +02:00
|
|
|
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
|
|
|
};
|