mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Ref T129, parsed flight remarks can be obtained from VATSIM reader
This commit is contained in:
committed by
Mathew Sutcliffe
parent
34faabb6c5
commit
8a4415ce07
@@ -135,6 +135,14 @@ namespace BlackCore
|
||||
return m_flightPlanRemarks.value(callsign);
|
||||
}
|
||||
|
||||
CFlightPlanUtils::FlightPlanRemarks CVatsimDataFileReader::getParsedFlightPlanRemarksForCallsign(const CCallsign &callsign) const
|
||||
{
|
||||
if (callsign.isEmpty()) return CFlightPlanUtils::parseFlightPlanRemarks("");
|
||||
const QString remarks = this->getFlightPlanRemarksForCallsign(callsign);
|
||||
const CVoiceCapabilities vc = this->getVoiceCapabilityForCallsign(callsign);
|
||||
return CFlightPlanUtils::parseFlightPlanRemarks(remarks, vc);
|
||||
}
|
||||
|
||||
void CVatsimDataFileReader::updateWithVatsimDataFileData(CSimulatedAircraft &aircraftToBeUdpated) const
|
||||
{
|
||||
this->getAircraft().updateWithVatsimDataFileData(aircraftToBeUdpated);
|
||||
|
||||
Reference in New Issue
Block a user