2019-04-28 23:01:23 +00: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 <QFutureWatcher>
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class ConfigureService;
|
|
|
|
}
|
|
|
|
|
|
|
|
class ConfigureService : public QWidget {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit ConfigureService(QWidget* parent = nullptr);
|
|
|
|
~ConfigureService() override;
|
|
|
|
|
2019-06-21 00:31:17 +00:00
|
|
|
void ApplyConfiguration();
|
|
|
|
void RetranslateUi();
|
2019-04-28 23:01:23 +00:00
|
|
|
|
|
|
|
private:
|
2019-06-21 00:31:17 +00:00
|
|
|
void SetConfiguration();
|
2019-04-28 23:01:23 +00:00
|
|
|
|
|
|
|
std::pair<QString, QString> BCATDownloadEvents();
|
|
|
|
void OnBCATImplChanged();
|
|
|
|
void OnUpdateBCATEmptyLabel(std::pair<QString, QString> string);
|
|
|
|
|
|
|
|
std::unique_ptr<Ui::ConfigureService> ui;
|
|
|
|
QFutureWatcher<std::pair<QString, QString>> watcher;
|
|
|
|
};
|