mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
refs #907, model interface
* extended interface, function to get simulator * made CDbMappingComponentAware an interface * public getMappingComponent
This commit is contained in:
committed by
Mathew Sutcliffe
parent
1153f70776
commit
60a937b5b6
@@ -50,6 +50,14 @@ namespace BlackMisc
|
||||
//! Set models
|
||||
virtual void updateModels(const CAircraftModelList &models, const CSimulatorInfo &simulator) = 0;
|
||||
};
|
||||
|
||||
//! Interface to "something" allowing a simulator selection
|
||||
class BLACKMISC_EXPORT ISimulatorSelectable
|
||||
{
|
||||
public:
|
||||
//! Simulator
|
||||
virtual BlackMisc::Simulation::CSimulatorInfo getSelectedSimulator() const = 0;
|
||||
};
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
@@ -57,5 +65,6 @@ Q_DECLARE_INTERFACE(BlackMisc::Simulation::IModelsSetable, "org.swift-project.bl
|
||||
Q_DECLARE_INTERFACE(BlackMisc::Simulation::IModelsUpdatable, "org.swift-project.blackmisc.simulation.imodelsupdateable")
|
||||
Q_DECLARE_INTERFACE(BlackMisc::Simulation::IModelsPerSimulatorSetable, "org.swift-project.blackmisc.simulation.imodelspersimulatorsetable")
|
||||
Q_DECLARE_INTERFACE(BlackMisc::Simulation::IModelsPerSimulatorUpdatable, "org.swift-project.blackmisc.simulation.imodelspersimulatorupdatabale")
|
||||
Q_DECLARE_INTERFACE(BlackMisc::Simulation::ISimulatorSelectable, "org.swift-project.blackmisc.simulation.isimulatorselectable")
|
||||
|
||||
#endif // guard
|
||||
|
||||
Reference in New Issue
Block a user