mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 10:47:01 +08:00
refactor: Remove webservice state/config member from CApplication
Reduce complexity and state of the CApplication. These members are used anyway just to initialize the web service.
This commit is contained in:
@@ -553,7 +553,7 @@ namespace BlackCore
|
||||
|
||||
//! Start the web data services
|
||||
//! \note does nothing when setup is not yet loaded
|
||||
BlackMisc::CStatusMessageList startWebDataServices();
|
||||
BlackMisc::CStatusMessageList startWebDataServices(CWebReaderFlags::WebReader webReader, const Db::CDatabaseReaderConfigList &dbReaderConfig);
|
||||
|
||||
//! executable name
|
||||
static const QString &executable();
|
||||
@@ -651,8 +651,6 @@ namespace BlackCore
|
||||
const QString m_applicationName; //!< application name
|
||||
QReadWriteLock m_accessManagerLock; //!< lock to make access manager access threadsafe
|
||||
CCoreFacadeConfig m_coreFacadeConfig; //!< Core facade config if any
|
||||
CWebReaderFlags::WebReader m_webReadersUsed; //!< Readers to be used
|
||||
Db::CDatabaseReaderConfigList m_dbReaderConfig; //!< Load or used caching?
|
||||
bool m_useContexts = false; //!< use contexts
|
||||
bool m_devFlag = false; //!< dev. environment
|
||||
bool m_saveSettingsOnShutdown = true; //!< saving all settings on shutdown
|
||||
|
||||
Reference in New Issue
Block a user