mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-12-16 14:22:28 +00:00
21 lines
323 B
C
21 lines
323 B
C
|
#pragma once
|
||
|
|
||
|
#include <QObject>
|
||
|
#include <QNetworkAccessManager>
|
||
|
|
||
|
class MappingFetcher : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit MappingFetcher(QObject *parent = nullptr);
|
||
|
|
||
|
void start();
|
||
|
|
||
|
private slots:
|
||
|
void handleMappingListFetched(QNetworkReply* reply);
|
||
|
|
||
|
private:
|
||
|
QNetworkAccessManager m_Nam;
|
||
|
};
|