suyu/src/yuzu/configuration/configure_service.h

35 lines
769 B
C++
Raw Normal View History

// 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-20 20:31:17 -04:00
void ApplyConfiguration();
void RetranslateUi();
private:
2019-06-20 20:31:17 -04:00
void SetConfiguration();
std::pair<QString, QString> BCATDownloadEvents();
void OnBCATImplChanged();
void OnUpdateBCATEmptyLabel(std::pair<QString, QString> string);
std::unique_ptr<Ui::ConfigureService> ui;
2019-10-02 08:35:39 -04:00
QFutureWatcher<std::pair<QString, QString>> watcher{this};
};