refs #220, refs #219 required changes in network context

* load flight plan method
* removed public getOwnAircraft method refs #242 -> own aircraft context
* Improved handling of selected stations
* Some debug info for #refs 255, will be removed when solved
This commit is contained in:
Klaus Basan
2014-06-05 13:32:40 +02:00
parent 48d66c204f
commit 137bded355
6 changed files with 128 additions and 62 deletions

View File

@@ -132,12 +132,15 @@ namespace BlackCore
//! Send flight plan
virtual void sendFlightPlan(const BlackMisc::Aviation::CFlightPlan &flightPlan) = 0;
//! Load flight plan (from network)
virtual BlackMisc::Aviation::CFlightPlan loadFlightPlanFromNetwork(const BlackMisc::Aviation::CCallsign &callsign) const = 0;
/*!
* \brief Get METAR, if not available request it
* \param airportIcaoCode such as EDDF, KLAX
* \return
*/
virtual BlackMisc::Aviation::CInformationMessage getMetar(const QString &airportIcaoCode) = 0;
virtual BlackMisc::Aviation::CInformationMessage getMetar(const BlackMisc::Aviation::CAirportIcao &airportIcaoCode) = 0;
//! Use the selected COM1/2 frequencies, and get the corresponding voice room for it
virtual BlackMisc::Audio::CVoiceRoomList getSelectedVoiceRooms() const = 0;