mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 21:40:06 +00:00
Refactor NvPairingManager, NvComputer, and NvHTTP to reduce passing of addresses
This commit is contained in:
1 parent
bee8378795
commit
5afab126b3
9 files changed
+48
-17
No files matched your search
@@ -9,6 +9,8 @@
|
||||
#include <QNetworkAccessManager>
|
||||
#include <QNetworkReply>
|
||||
|
||||
class NvComputer;
|
||||
|
||||
class NvDisplayMode
|
||||
{
|
||||
public:
|
||||
@@ -108,6 +110,8 @@ public:
|
||||
|
||||
explicit NvHTTP(QString address, QSslCertificate serverCert);
|
||||
|
||||
explicit NvHTTP(NvComputer* computer);
|
||||
|
||||
static
|
||||
int
|
||||
getCurrentGame(QString serverInfo);
|
||||
@@ -142,6 +146,12 @@ public:
|
||||
|
||||
QString address();
|
||||
|
||||
QSslCertificate serverCert();
|
||||
|
||||
uint16_t httpPort();
|
||||
|
||||
uint16_t httpsPort();
|
||||
|
||||
static
|
||||
QVector<int>
|
||||
parseQuad(QString quad);
|
||||
|
||||
Reference in new issue
Block a user