mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
refs #935, avoid issues when shutting down
This commit is contained in:
committed by
Mathew Sutcliffe
parent
d475246941
commit
f34e80ea62
@@ -151,6 +151,9 @@ namespace BlackCore
|
||||
//! Driver will be unloaded
|
||||
virtual void unload() = 0;
|
||||
|
||||
//! Is overall (swift) application shutting down
|
||||
virtual bool isShuttingDown() const = 0;
|
||||
|
||||
//! Set interpolation mode, empty callsign applies to all know callsigns
|
||||
virtual bool setInterpolatorMode(BlackMisc::Simulation::CInterpolatorMulti::Mode mode, const BlackMisc::Aviation::CCallsign &callsign) = 0;
|
||||
|
||||
@@ -253,6 +256,9 @@ namespace BlackCore
|
||||
//! Info about the backend system (if available)
|
||||
virtual QString backendInfo() const;
|
||||
|
||||
//! Overall (swift) application shutting down
|
||||
virtual bool isShuttingDown() const;
|
||||
|
||||
public slots:
|
||||
//! Start listening for the simulator to start.
|
||||
void start();
|
||||
|
||||
Reference in New Issue
Block a user