mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 16:55:36 +08:00
refs #661, improved own model set handling
* fixed simulator selector * added simulator selector to own model set component * pinned last selections * fixed model cache to use "getCopy"
This commit is contained in:
@@ -51,6 +51,9 @@ namespace BlackMisc
|
||||
//! Destructor
|
||||
virtual ~CAircraftModelSetLoader();
|
||||
|
||||
//! Make sure cache is syncronized
|
||||
bool syncronizeCache();
|
||||
|
||||
//! The loaded models
|
||||
//! \threadsafe
|
||||
BlackMisc::Simulation::CAircraftModelList getAircraftModels() const;
|
||||
@@ -61,7 +64,7 @@ namespace BlackMisc
|
||||
|
||||
//! Count of loaded models
|
||||
//! \threadsafe
|
||||
int getAircraftModelsCount() const { return getAircraftModels().size(); }
|
||||
int getAircraftModelsCount() const;
|
||||
|
||||
//! Model for given model string
|
||||
//! \threadsafe
|
||||
@@ -110,9 +113,6 @@ namespace BlackMisc
|
||||
//! Cache timestamp
|
||||
QDateTime getCacheTimestamp() const;
|
||||
|
||||
//! Make sure cache is syncronized
|
||||
bool syncronizeCache();
|
||||
|
||||
//! Any cached data?
|
||||
bool hasCachedData() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user