refs #640, support for simulator in distributor

* changed backend (JSON) and added support for simulator data
* get distributors by simulator
* renamed to setSimulator / getSimulator
This commit is contained in:
Klaus Basan
2016-04-17 19:08:44 +02:00
parent b78308b059
commit 5d39c906e4
17 changed files with 125 additions and 52 deletions

View File

@@ -153,9 +153,12 @@ namespace BlackMisc
//! Which simulator(s) have the most entries
CSimulatorInfo simulatorsWithMaxEntries() const;
//! Update distributors
//! Update distributor, all models in list are set to given distributor
void updateDistributor(const CDistributor &distributor);
//! All distributors used with models of this list
CDistributorList getDistributors(bool onlyDbDistributors = true) const;
//! Update aircraft ICAO
void updateAircraftIcao(const BlackMisc::Aviation::CAircraftIcaoCode &icao);