refs #619, adjusted model loader / implementing classes

* init data based on last setup
* init changed some signatures
This commit is contained in:
Klaus Basan
2016-03-12 05:30:47 +01:00
parent 7714f5db9f
commit 83d7b7ceef
6 changed files with 30 additions and 27 deletions

View File

@@ -42,7 +42,7 @@ namespace BlackMisc
CacheUntilNewer = 1 << 2, //!< use cache until newer data re available
CacheFirst = 1 << 3, //!< always use cache (if it has data)
CacheSkipped = 1 << 4, //!< ignore cache
CacheOnly = 1 << 5, //!< force ignoring the cache
CacheOnly = 1 << 5, //!< only read cache, never load from disk
Default = LoadInBackground | CacheFirst //!< default mode
};
Q_DECLARE_FLAGS(LoadMode, LoadModeFlag)
@@ -97,7 +97,7 @@ namespace BlackMisc
signals:
//! Parsing is finished
void loadingFinished(bool success);
void loadingFinished(bool success, const BlackMisc::Simulation::CSimulatorInfo &simulator);
protected:
//! Constructor