diff options
author | Fernando S <fsahmkow27@gmail.com> | 2021-08-16 17:10:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-16 17:10:00 +0200 |
commit | 521e6ac17483e975e2fc731fed879e9f3edf7547 (patch) | |
tree | ca5a9b7559f475de1d461885f3df9ee2282bccdf /src/yuzu/configuration/configure_network.h | |
parent | 87d63b858a6d41b11a116a983e22fc1c34de5086 (diff) | |
parent | 356dbf4d1d314448495ab4e558aa8f799f20caac (diff) |
Merge pull request #6863 from spholz/fix-lan-play
Fix LAN Play
Diffstat (limited to 'src/yuzu/configuration/configure_network.h')
-rw-r--r-- | src/yuzu/configuration/configure_network.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/yuzu/configuration/configure_network.h b/src/yuzu/configuration/configure_network.h new file mode 100644 index 000000000..442b68e6b --- /dev/null +++ b/src/yuzu/configuration/configure_network.h @@ -0,0 +1,34 @@ +// Copyright 2019 yuzu Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +#include <memory> +#include <QFutureWatcher> +#include <QWidget> + +namespace Ui { +class ConfigureNetwork; +} + +class ConfigureNetwork : public QWidget { + Q_OBJECT + +public: + explicit ConfigureNetwork(QWidget* parent = nullptr); + ~ConfigureNetwork() override; + + void ApplyConfiguration(); + void RetranslateUi(); + +private: + void SetConfiguration(); + + std::pair<QString, QString> BCATDownloadEvents(); + void OnBCATImplChanged(); + void OnUpdateBCATEmptyLabel(std::pair<QString, QString> string); + + std::unique_ptr<Ui::ConfigureNetwork> ui; + QFutureWatcher<std::pair<QString, QString>> watcher{this}; +}; |