Implement followAircraft for X-Plane

ref T266
This commit is contained in:
Roland Winklmeier
2018-05-15 09:28:06 +02:00
committed by Klaus Basan
parent 794137fc94
commit 33963041cc
7 changed files with 41 additions and 0 deletions

View File

@@ -599,6 +599,13 @@ namespace BlackSimPlugin
return true;
}
bool CSimulatorXPlane::followAircraft(const CCallsign &callsign)
{
if (! m_trafficProxy || ! m_trafficProxy->isValid()) { return false; }
m_trafficProxy->setFollowedAircraft(callsign.toQString());
return true;
}
void CSimulatorXPlane::injectWeatherGrid(const Weather::CWeatherGrid &weatherGrid)
{
Q_ASSERT(isConnected());