mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +08:00
refs #610, VATSIM status file
* automatically load status file * keep VATSIM data file locations * use METAR/datafile locations from bootstrap or VATSIM status file
This commit is contained in:
committed by
Mathew Sutcliffe
parent
06bcbe2a2f
commit
1eb65a873c
@@ -49,6 +49,8 @@ namespace BlackCore
|
||||
* - The core facade (aka core runtime) is now part of the application. It can be started via cmd line arguments.
|
||||
* - Settings are loaded
|
||||
* - Setup is loaded (load the so called bootsrap file) to find servers and other resources
|
||||
* - Update information (new swift versions etc.) are loaded
|
||||
* - If applicable VATSIM status data (where are the VATSIM files?) are loaded
|
||||
* - An end of lifetime can be specified, aka time bombing
|
||||
*
|
||||
* \sa BlackGui::CGuiApplication for the GUI version of application
|
||||
@@ -213,6 +215,16 @@ namespace BlackCore
|
||||
IContextSimulator *getIContextSimulator();
|
||||
//! @}
|
||||
|
||||
// ----------------------- direct access to some setup data ---------------------------------
|
||||
|
||||
//! Consolidated version of METAR URLs, either from CGlobalSetup or CVatsimSetup
|
||||
//! \threadsafe
|
||||
BlackMisc::Network::CUrlList getVatsimMetarUrls() const;
|
||||
|
||||
//! Consolidated version of data file URLs, either from CGlobalSetup or CVatsimSetup
|
||||
//! \threadsafe
|
||||
BlackMisc::Network::CUrlList getVatsimDataFileUrls() const;
|
||||
|
||||
public slots:
|
||||
//! Graceful shutdown
|
||||
virtual void gracefulShutdown();
|
||||
|
||||
Reference in New Issue
Block a user