Ref T701, IAircraftModelSetProvider 1st version

* added to matcher
* and simulator context
* in facade changed init order, as we need getCContextOwnAircraft() / getCContextSimulator()

Remark: Need 2 contexts is not ideal, but accepted for the moment
This commit is contained in:
Klaus Basan
2019-07-11 00:47:49 +02:00
committed by Mat Sutcliffe
parent 9ac457edb3
commit 0767deb41d
7 changed files with 117 additions and 9 deletions

View File

@@ -13,6 +13,7 @@
#include "blackcore/webdataservicesms.h"
#include "blackcore/blackcoreexport.h"
#include "blackmisc/simulation/aircraftmodelsetprovider.h"
#include "blackmisc/simulation/aircraftmatchersetup.h"
#include "blackmisc/simulation/aircraftmodellist.h"
#include "blackmisc/simulation/matchingscriptmisc.h"
@@ -42,9 +43,12 @@ namespace BlackCore
//! Matcher for all models.
//! \details Reads the model set (ie the models the user wants to use).
//! Also Allows to reverse lookup a model (from network to DB data).
class BLACKCORE_EXPORT CAircraftMatcher : public QObject
class BLACKCORE_EXPORT CAircraftMatcher :
public QObject,
public BlackMisc::Simulation::IAircraftModelSetProvider
{
Q_OBJECT
Q_INTERFACES(BlackMisc::Simulation::IAircraftModelSetProvider)
public:
//! Log categories