refs #444 Use CAircraftMatcher to match a model and send it to xbus

In case the model name is empty, xbus falls back to its former
behaviour and lets libxplanemp do the matching. If aircraft matcher
does provide a model this will be used instead.
Until model mapping database is ready, a dummy provider has been added.
Hence CAircraftMatcher will always return a default model.
This commit is contained in:
Roland Winklmeier
2015-06-18 23:20:54 +02:00
committed by Mathew Sutcliffe
parent b28634e586
commit 1ac89d477f
7 changed files with 72 additions and 13 deletions

View File

@@ -80,7 +80,7 @@ namespace BlackSimPlugin
void updateInstalledModels() const;
//! \copydoc XBus::CTraffic::addPlane
void addPlane(const QString &callsign, const QString &aircraftIcao, const QString &airlineIcao, const QString &livery);
void addPlane(const QString &callsign, const QString &modelName, const QString &aircraftIcao, const QString &airlineIcao, const QString &livery);
//! \copydoc XBus::CTraffic::removePlane
void removePlane(const QString &callsign);