Fetch updated gamepad mappings each launch

This commit is contained in:
Cameron Gutman
2020-11-21 14:45:34 -06:00
parent aa4684077d
commit e224a7f0c7
7 changed files with 106 additions and 1 deletions
+20
View File
@@ -0,0 +1,20 @@
#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;
};