mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
Extract method to convert between FlightRules and FlightType
This commit is contained in:
@@ -461,6 +461,9 @@ namespace BlackCore::Fsd
|
||||
//! Get a short-lived, one-time-use token from Vatsim web service, to avoid sending plaintext password to FSD
|
||||
void getVatsimAuthToken(const QString &cid, const QString &password, const BlackMisc::CSlot<void(const QString &)> &callback);
|
||||
|
||||
//! Convert FlightRules to FlightType
|
||||
static FlightType getFlightType(BlackMisc::Aviation::CFlightPlan::FlightRules flightRule);
|
||||
|
||||
vatsim_auth *m_clientAuth = nullptr;
|
||||
vatsim_auth *m_serverAuth = nullptr;
|
||||
QString m_lastServerAuthChallenge;
|
||||
|
||||
Reference in New Issue
Block a user