mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 16:56:53 +08:00
refs #219, load flight plan
* fixed issue with parsing, only default locale is used. Now user's local possible * allow to load FP for other callsigns as well (voice capabilities) * Improved handling of CTime, inclusive bug fixes and time formatting * Max. lengths for FP fields as const value (so we can change it if required) * Load FP from GUI component * Samples for PQ classes * Adjusted depending classes (e.g. client)
This commit is contained in:
@@ -251,7 +251,7 @@ namespace BlackCore
|
||||
* \pre Network must be connected when calling this function.
|
||||
* \sa flightPlanReplyReceived
|
||||
*/
|
||||
virtual void sendFlightPlanQuery() = 0;
|
||||
virtual void sendFlightPlanQuery(const BlackMisc::Aviation::CCallsign &callsign) = 0;
|
||||
|
||||
//! @}
|
||||
////////////////////////////////////////////////////////////////
|
||||
@@ -320,7 +320,7 @@ namespace BlackCore
|
||||
* \pre Network must be connected when calling this function.
|
||||
* \sa metarReplyReceived
|
||||
*/
|
||||
virtual void sendMetarQuery(const QString &airportICAO) = 0;
|
||||
virtual void sendMetarQuery(const BlackMisc::Aviation::CAirportIcao &airportIcao) = 0;
|
||||
|
||||
/*!
|
||||
* Send a message querying the weather data for the airport with a specific ICAO code.
|
||||
@@ -329,7 +329,7 @@ namespace BlackCore
|
||||
* \sa windDataReplyReceived
|
||||
* \sa cloudDataReplyReceived
|
||||
*/
|
||||
virtual void sendWeatherDataQuery(const QString &airportICAO) = 0;
|
||||
virtual void sendWeatherDataQuery(const BlackMisc::Aviation::CAirportIcao &airportIcao) = 0;
|
||||
|
||||
signals:
|
||||
//! @}
|
||||
@@ -377,7 +377,7 @@ namespace BlackCore
|
||||
* We received a reply to one of our flight plan queries, containing our up-to-date flight plan.
|
||||
* \sa sendFlightPlanQuery
|
||||
*/
|
||||
void flightPlanReplyReceived(const BlackMisc::Aviation::CFlightPlan &flightPlan);
|
||||
void flightPlanReplyReceived(const BlackMisc::Aviation::CCallsign &callsign, const BlackMisc::Aviation::CFlightPlan &flightPlan);
|
||||
|
||||
//! @}
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user