// Copyright 2019 yuzu Emulator Project // Licensed under GPLv2 or any later version // Refer to the license.txt file included. #pragma once #include #include #include #include "core/network/network_interface.h" 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 BCATDownloadEvents(); void OnBCATImplChanged(); void OnUpdateBCATEmptyLabel(std::pair string); std::unique_ptr ui; QFutureWatcher> watcher{this}; };