refactor: Remove ecosystem provider from WebDataServices

Spreading the information about the ecosystem into all
"low-level" readers, just to deactivate them when not using
a non-VATSIM ecosystem, should be avoided. Instead, the readers
should be disabled entirely from the outside . This will be done
in a upcoming refactoring (separate PR).
This commit is contained in:
Lars Toenning
2024-03-11 19:10:50 +01:00
parent 73689efa01
commit 9cdd624ae0
8 changed files with 7 additions and 52 deletions

View File

@@ -14,7 +14,6 @@
#include "blackmisc/aviation/callsignset.h"
#include "blackmisc/aviation/flightplan.h"
#include "blackmisc/network/entityflags.h"
#include "blackmisc/network/ecosystemprovider.h"
#include "blackmisc/network/serverlist.h"
#include "blackmisc/network/userlist.h"
#include "blackmisc/network/voicecapabilities.h"
@@ -37,8 +36,7 @@ namespace BlackCore::Vatsim
{
//! Read vatsim data file
class BLACKCORE_EXPORT CVatsimDataFileReader :
public CThreadedReader,
public BlackMisc::Network::CEcosystemAware
public CThreadedReader
{
Q_OBJECT