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:
Lars Toenning
2024-02-09 16:32:45 +01:00
parent 0d62facea7
commit 14c045e7b4
26 changed files with 153 additions and 584 deletions

View File

@@ -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;