Refuse to stream if Moonlight is known incompatible with the host GFE version
This commit is contained in:
parent
b50e5ed7e6
commit
2fbb320539
11 changed files with 164 additions and 3 deletions
22
app/settings/compatfetcher.h
Normal file
22
app/settings/compatfetcher.h
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#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;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue