mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-12-16 06:12:28 +00:00
23 lines
380 B
C
23 lines
380 B
C
|
#pragma once
|
||
|
|
||
|
#include <QObject>
|
||
|
#include <QNetworkAccessManager>
|
||
|
|
||
|
class CompatFetcher : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit CompatFetcher(QObject *parent = nullptr);
|
||
|
|
||
|
void start();
|
||
|
|
||
|
static bool isGfeVersionSupported(QString gfeVersion);
|
||
|
|
||
|
private slots:
|
||
|
void handleCompatInfoFetched(QNetworkReply* reply);
|
||
|
|
||
|
private:
|
||
|
QNetworkAccessManager m_Nam;
|
||
|
};
|