mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-12-01 10:15:22 +00:00
Add missing includes tree-wide
This commit is contained in:
1 parent
a85f933ed0
commit
495cd8b7cd
62 files changed
+194
-4
No files matched your search
@@ -4,6 +4,10 @@
|
||||
#include <QJsonDocument>
|
||||
#include <QJsonArray>
|
||||
#include <QJsonObject>
|
||||
#include <QSysInfo>
|
||||
#include <QTextStream>
|
||||
|
||||
#include <utility>
|
||||
|
||||
AutoUpdateChecker::AutoUpdateChecker(QObject *parent) :
|
||||
QObject(parent)
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
#include <QObject>
|
||||
#include <QNetworkAccessManager>
|
||||
#include <QVector>
|
||||
|
||||
class AutoUpdateChecker : public QObject
|
||||
{
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "boxartmanager.h"
|
||||
#include "../path.h"
|
||||
|
||||
#include <QFile>
|
||||
#include <QImageReader>
|
||||
#include <QImageWriter>
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <QImage>
|
||||
#include <QThreadPool>
|
||||
#include <QRunnable>
|
||||
#include <QUrl>
|
||||
|
||||
class BoxArtManager : public QObject
|
||||
{
|
||||
|
||||
@@ -10,6 +10,10 @@
|
||||
#include <QThreadPool>
|
||||
#include <QCoreApplication>
|
||||
#include <QRandomGenerator>
|
||||
#include <QUrl>
|
||||
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
|
||||
#define SER_HOSTS "hosts"
|
||||
#define SER_HOSTS_BACKUP "hostsbackup"
|
||||
|
||||
@@ -17,6 +17,11 @@
|
||||
#include <QTimer>
|
||||
#include <QMutex>
|
||||
#include <QWaitCondition>
|
||||
#include <QMap>
|
||||
#include <QHash>
|
||||
#include <QSharedPointer>
|
||||
#include <QWeakPointer>
|
||||
#include <QVector>
|
||||
|
||||
class ComputerManager;
|
||||
|
||||
|
||||
@@ -3,9 +3,16 @@
|
||||
#include "settings/compatfetcher.h"
|
||||
|
||||
#include <QUdpSocket>
|
||||
#include <QTcpSocket>
|
||||
#include <QHostInfo>
|
||||
#include <QNetworkInterface>
|
||||
#include <QNetworkProxy>
|
||||
#include <QSet>
|
||||
#include <QMap>
|
||||
#include <QDebug>
|
||||
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
|
||||
#define SER_NAME "hostname"
|
||||
#define SER_UUID "uuid"
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <QReadWriteLock>
|
||||
#include <QSettings>
|
||||
#include <QRunnable>
|
||||
#include <QVector>
|
||||
|
||||
class CopySafeReadWriteLock : public QReadWriteLock
|
||||
{
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "nvcomputer.h"
|
||||
#include <Limelight.h>
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QDebug>
|
||||
#include <QUuid>
|
||||
#include <QtNetwork/QNetworkReply>
|
||||
@@ -11,6 +12,10 @@
|
||||
#include <QImageReader>
|
||||
#include <QtEndian>
|
||||
#include <QNetworkProxy>
|
||||
#include <QTextStream>
|
||||
|
||||
#include <stdexcept>
|
||||
#include <string.h>
|
||||
|
||||
#define FAST_FAIL_TIMEOUT_MS 2000
|
||||
#define REQUEST_TIMEOUT_MS 5000
|
||||
|
||||
@@ -9,6 +9,10 @@
|
||||
#include <QUrl>
|
||||
#include <QNetworkAccessManager>
|
||||
#include <QNetworkReply>
|
||||
#include <QImage>
|
||||
#include <QVector>
|
||||
|
||||
#include <exception>
|
||||
|
||||
class NvComputer;
|
||||
|
||||
|
||||
@@ -1,8 +1,17 @@
|
||||
#include "nvpairingmanager.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include <QCryptographicHash>
|
||||
#include <QDebug>
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
#ifdef Q_OS_WIN32
|
||||
#include <malloc.h>
|
||||
#else
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
|
||||
#include <openssl/bio.h>
|
||||
#include <openssl/rand.h>
|
||||
#include <openssl/pem.h>
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
#include <QDebug>
|
||||
|
||||
#include <time.h>
|
||||
|
||||
RichPresenceManager::RichPresenceManager(StreamingPreferences& prefs, QString gameName)
|
||||
: m_DiscordActive(false)
|
||||
{
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
|
||||
#include <QGuiApplication>
|
||||
#include <QLibraryInfo>
|
||||
#include <QSysInfo>
|
||||
#include <QThread>
|
||||
|
||||
#include "streaming/session.h"
|
||||
#include "streaming/streamutils.h"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
#include <QObject>
|
||||
#include <QRect>
|
||||
#include <QThread>
|
||||
|
||||
#include "SDL_compat.h"
|
||||
|
||||
|
||||
Reference in new issue
Block a user