mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 07:15:34 +08:00
refs #218 enable retreiving user's flightplan from the network
after it was potentially amended by a controller
This commit is contained in:
@@ -246,6 +246,13 @@ namespace BlackCore
|
||||
*/
|
||||
virtual void sendFlightPlan(const BlackMisc::Aviation::CFlightPlan &flightPlan) = 0;
|
||||
|
||||
/*!
|
||||
* Send a message querying our currently filed flight plan, which may have been amended by a controller.
|
||||
* \pre Network must be connected when calling this function.
|
||||
* \sa flightPlanReplyReceived
|
||||
*/
|
||||
virtual void sendFlightPlanQuery() = 0;
|
||||
|
||||
//! @}
|
||||
////////////////////////////////////////////////////////////////
|
||||
//! \name Aircraft slots
|
||||
@@ -366,6 +373,12 @@ namespace BlackCore
|
||||
*/
|
||||
void atisLogoffTimeReplyReceived(const BlackMisc::Aviation::CCallsign &callsign, const QString &zuluTime);
|
||||
|
||||
/*!
|
||||
* 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);
|
||||
|
||||
//! @}
|
||||
////////////////////////////////////////////////////////////////
|
||||
//! \name Aircraft signals
|
||||
|
||||
Reference in New Issue
Block a user