Ref T118, allow to just provide an id (from backend) and set the entity on swift side

* added getDistributorForDbKey
* added fillInMissingAircraftAndLiveryEntities
* fromDbJson function adjusted
This commit is contained in:
Klaus Basan
2017-10-25 17:05:11 +02:00
parent 585d82f84b
commit 4166982954
8 changed files with 95 additions and 3 deletions

View File

@@ -162,6 +162,10 @@ namespace BlackCore
//! \threadsafe
int getDistributorsCount() const;
//! Distributor for key
//! \threadsafe
BlackMisc::Simulation::CDistributor getDistributorForDbKey(const QString &key) const;
//! Use distributor object to select the best complete distributor from DB
//! \threadsafe
BlackMisc::Simulation::CDistributor smartDistributorSelector(const BlackMisc::Simulation::CDistributor &distributor) const;