mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 20:40:29 +08:00
refs #697 BlackCore settings renamed and reorganized.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#include "blackcore/blackcoreexport.h"
|
||||
#include "blackcore/context/contextaudio.h"
|
||||
#include "blackcore/corefacadeconfig.h"
|
||||
#include "blackcore/settings/audio.h"
|
||||
#include "blackcore/audio/audiosettings.h"
|
||||
#include "blackcore/voicechannel.h"
|
||||
#include "blackmisc/audio/audiodeviceinfolist.h"
|
||||
#include "blackmisc/audio/notificationsounds.h"
|
||||
@@ -183,7 +183,7 @@ namespace BlackCore
|
||||
QHash<BlackMisc::Aviation::CComSystem::ComUnit, QSharedPointer<IVoiceChannel>> m_voiceChannelMapping;
|
||||
|
||||
// settings
|
||||
BlackMisc::CSetting<BlackCore::Settings::Audio::AudioSettings> m_audioSettings { this };
|
||||
BlackMisc::CSetting<BlackCore::Audio::TSettings> m_audioSettings { this };
|
||||
};
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include "blackcore/blackcoreexport.h"
|
||||
#include "blackcore/context/contextownaircraft.h"
|
||||
#include "blackcore/corefacadeconfig.h"
|
||||
#include "blackcore/settings/network.h"
|
||||
#include "blackcore/vatsim/vatsimsettings.h"
|
||||
#include "blackmisc/aviation/aircraftparts.h"
|
||||
#include "blackmisc/aviation/airlineicaocode.h"
|
||||
#include "blackmisc/aviation/atcstation.h"
|
||||
@@ -170,7 +170,7 @@ namespace BlackCore
|
||||
QString m_voiceRoom2UrlOverride; //!< overridden voice room url
|
||||
mutable QReadWriteLock m_lockAircraft; //!< lock aircraft
|
||||
|
||||
BlackMisc::CSetting<Settings::Network::CurrentTrafficServer> m_currentNetworkServer { this };
|
||||
BlackMisc::CSetting<Vatsim::TCurrentTrafficServer> m_currentNetworkServer { this };
|
||||
|
||||
//! Init my very own aircraft with some defaults, before overridden by simulator
|
||||
void initOwnAircraft();
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include "blackcore/blackcoreexport.h"
|
||||
#include "blackcore/context/contextsimulator.h"
|
||||
#include "blackcore/corefacadeconfig.h"
|
||||
#include "blackcore/settings/application.h"
|
||||
#include "blackcore/application/applicationsettings.h"
|
||||
#include "blackcore/weathermanager.h"
|
||||
#include "blackmisc/aviation/airportlist.h"
|
||||
#include "blackmisc/identifier.h"
|
||||
@@ -205,7 +205,7 @@ namespace BlackCore
|
||||
CPluginManagerSimulator *m_plugins = nullptr;
|
||||
BlackMisc::CRegularThread m_listenersThread;
|
||||
BlackCore::CWeatherManager m_weatherManager { this };
|
||||
BlackMisc::CSetting<BlackCore::Settings::Application::EnabledSimulators> m_enabledSimulators { this, &CContextSimulator::restoreSimulatorPlugins };
|
||||
BlackMisc::CSetting<BlackCore::Application::TEnabledSimulators> m_enabledSimulators { this, &CContextSimulator::restoreSimulatorPlugins };
|
||||
};
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user