Use HTTP to get VATSIM IP in automatic mode

This commit is contained in:
Lars Toenning
2023-02-27 17:59:50 +01:00
parent 466e0dbae4
commit a62da56d5f
7 changed files with 60 additions and 2 deletions

View File

@@ -58,6 +58,8 @@
#define PROTOCOL_REVISION_VATSIM_VELOCITY 101
//! @}
class QNetworkReply;
namespace BlackFsdTest { class CTestFSDClient; }
namespace BlackCore::Fsd
{
@@ -387,6 +389,8 @@ namespace BlackCore::Fsd
void handleUnknownPacket(const QStringList &tokens);
//! @}
void handleVatsimServerIpResponse(QNetworkReply *nwReplyPtr);
void printSocketError(QAbstractSocket::SocketError socketError);
void handleSocketError(QAbstractSocket::SocketError socketError);
void handleSocketConnected();