refs #587, allow to modify multiple properties at once

functions to update a property map
This commit is contained in:
Klaus Basan
2016-01-29 21:31:32 +01:00
parent c736373504
commit 873f5f04b9
6 changed files with 53 additions and 13 deletions

View File

@@ -82,18 +82,21 @@ namespace BlackGui
//! The stashed models
const BlackMisc::Simulation::CAircraftModelList &getStashedModels() const;
//! Apply object to select objects
//! Apply livery to selected objects
void applyToSelected(const BlackMisc::Aviation::CLivery &livery, bool acceptWarnings = true);
//! Apply object to select objects
//! Apply airline ICAO code to selected objects
void applyToSelected(const BlackMisc::Aviation::CAircraftIcaoCode &icao, bool acceptWarnings = true);
//! Apply object to select objects
//! Apply aircraft ICAO code to selected objects
void applyToSelected(const BlackMisc::Aviation::CAirlineIcaoCode &icao, bool acceptWarnings = true);
//! Apply object to select objects
//! Apply distributor to selected objects
void applyToSelected(const BlackMisc::Simulation::CDistributor &distributor, bool acceptWarnings = true);
//! Apply set of properties to selected objects
void applyToSelected(const BlackMisc::CPropertyIndexVariantMap &vm);
//! Consolidate with other available data
BlackMisc::Simulation::CAircraftModel consolidateModel(const BlackMisc::Simulation::CAircraftModel &model) const;