refs #853, JSON exception handling adjustments for model reader

This commit is contained in:
Klaus Basan
2017-01-05 19:39:27 +01:00
committed by Mathew Sutcliffe
parent e956986bf4
commit b0bef3264c
3 changed files with 89 additions and 36 deletions

View File

@@ -116,7 +116,7 @@ namespace BlackCore
bool areAllDataRead() const;
//! Read to JSON file
bool readFromJsonFiles(const QString &dir, BlackMisc::Network::CEntityFlags::Entity whatToRead = BlackMisc::Network::CEntityFlags::DistributorLiveryModel);
BlackMisc::CStatusMessageList readFromJsonFiles(const QString &dir, BlackMisc::Network::CEntityFlags::Entity whatToRead = BlackMisc::Network::CEntityFlags::DistributorLiveryModel);
//! Read from static DB data file
bool readFromJsonFilesInBackground(const QString &dir, BlackMisc::Network::CEntityFlags::Entity whatToRead = BlackMisc::Network::CEntityFlags::DistributorLiveryModel);