mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 02:45:33 +08:00
refs #597, adjusted update info/global setup
* some renaming * adjusted to new server paths without dev/productive * changed to different keys to obtain 2 JSON files in cache
This commit is contained in:
committed by
Mathew Sutcliffe
parent
92a36890eb
commit
b78d8a5088
@@ -99,10 +99,10 @@ namespace BlackCore
|
||||
const BlackMisc::Network::CUrlList &vatsimDataFileUrls() const { return m_vatsimDataFileUrls; }
|
||||
|
||||
//! Bootstrap URLs (where the data for the setup itself can be downloaded)
|
||||
BlackMisc::Network::CUrlList bootstrapUrls() const;
|
||||
BlackMisc::Network::CUrlList bootstrapFileUrls() const;
|
||||
|
||||
//! Version and download locations
|
||||
BlackMisc::Network::CUrlList updateInfoUrls() const;
|
||||
BlackMisc::Network::CUrlList updateInfoFileUrls() const;
|
||||
|
||||
//! Alternative locations of swift DB data files
|
||||
BlackMisc::Network::CUrlList swiftDbDataFileLocationUrls() const;
|
||||
@@ -137,6 +137,9 @@ namespace BlackCore
|
||||
//! Schema version
|
||||
static const QString &versionString();
|
||||
|
||||
//! Build bootstrap file URL
|
||||
static QString buildBootstrapFileUrl(const QString &candidate);
|
||||
|
||||
private:
|
||||
BLACK_ENABLE_TUPLE_CONVERSION(BlackCore::Data::CGlobalSetup)
|
||||
|
||||
@@ -160,7 +163,7 @@ namespace BlackCore
|
||||
struct GlobalSetup : public BlackMisc::CDataTrait<CGlobalSetup>
|
||||
{
|
||||
//! Key in data cache
|
||||
static const char *key() { return "readers/setup"; }
|
||||
static const char *key() { return "bootstrap"; }
|
||||
|
||||
//! Default value
|
||||
static const CGlobalSetup &defaultValue()
|
||||
|
||||
Reference in New Issue
Block a user