mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
refactor: Remove CUrlList
Nowadays most of the loadbalancing is done on the server-side and hence there is only a single datafile URL (and other URLs) inside the boostrap.json. The features of the CUrlList are hence not really used. This is also a step into removing CUrl and using QUrl instead, to avoid maintaining a separate URL class.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
#include "blackcore/inputmanager.h"
|
||||
#include "blackcore/webreaderflags.h"
|
||||
#include "blackmisc/db/updateinfo.h"
|
||||
#include "blackmisc/network/urllist.h"
|
||||
#include "blackmisc/network/url.h"
|
||||
#include "blackmisc/network/networkutils.h"
|
||||
#include "blackmisc/identifiable.h"
|
||||
#include "blackmisc/slot.h"
|
||||
@@ -395,11 +395,11 @@ namespace BlackCore
|
||||
|
||||
//! Consolidated version of METAR URLs, either from CGlobalSetup or CVatsimSetup
|
||||
//! \threadsafe
|
||||
BlackMisc::Network::CUrlList getVatsimMetarUrls() const;
|
||||
BlackMisc::Network::CUrl getVatsimMetarUrl() const;
|
||||
|
||||
//! Consolidated version of data file URLs, either from CGlobalSetup or CVatsimSetup
|
||||
//! Consolidated version of data file URL, either from CGlobalSetup or CVatsimSetup
|
||||
//! \threadsafe
|
||||
BlackMisc::Network::CUrlList getVatsimDataFileUrls() const;
|
||||
BlackMisc::Network::CUrl getVatsimDataFileUrl() const;
|
||||
|
||||
//! Get URL to file which contains the list of VATSIM servers
|
||||
BlackMisc::Network::CUrl getVatsimServerFileUrl() const;
|
||||
|
||||
Reference in New Issue
Block a user