refs #218 enable retreiving user's flightplan from the network

after it was potentially amended by a controller
This commit is contained in:
Mathew Sutcliffe
2014-05-04 19:17:40 +01:00
parent 07fc42f790
commit 356f134ab8
5 changed files with 100 additions and 0 deletions

View File

@@ -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