4 #ifndef SWIFT_MISC_SIMULATION_FLIGHTGEAR_AIRCRAFTMODELLOADERFLIGHTGEAR_H
5 #define SWIFT_MISC_SIMULATION_FLIGHTGEAR_AIRCRAFTMODELLOADERFLIGHTGEAR_H
11 namespace swift::misc::simulation::flightgear
Aircraft model (used by another pilot, my models on disk)
Value object encapsulating a list of aircraft models.
Load the aircraft for a simulator.
std::function< int(swift::misc::simulation::CAircraftModelList &, bool)> ModelConsolidationCallback
Callback to consolidate data, normally with DB data.
Flightgear aircraft model loader.
CAircraftModelLoaderFlightgear(QObject *parent=nullptr)
Constructor.
void startLoadingFromDisk(LoadMode mode, const ModelConsolidationCallback &modelConsolidation, const QStringList &modelDirectories)
Start the loading process from disk.
~CAircraftModelLoaderFlightgear()
Virtual destructor.
void updateInstalledModels(const CAircraftModelList &models)
Parsed or injected models.
bool isLoadingFinished() const
Loading finished?
QObject * parent() const const