mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-05 14:57:53 +00:00
f0551aef09
Also displays current events if boxcat is selected.
34 lines
763 B
C++
34 lines
763 B
C++
// 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;
|
|
|
|
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::ConfigureService> ui;
|
|
QFutureWatcher<std::pair<QString, QString>> watcher;
|
|
};
|