mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
refs #417 Rename ISimulator::SimulatorStatus to SimulatorStatusFlag
This commit is contained in:
committed by
Michal Garapich
parent
49a9b91258
commit
e3bb701d7b
@@ -41,6 +41,7 @@ namespace BlackCore
|
||||
|
||||
public:
|
||||
//! ISimulator status
|
||||
//! \todo Qt5.5: Make use of QFlags
|
||||
enum SimulatorStatusFlag
|
||||
{
|
||||
Disconnected = 0,
|
||||
@@ -48,6 +49,7 @@ namespace BlackCore
|
||||
Simulating = 1 << 1, //!< Is the simulator actually simulating?
|
||||
Paused = 1 << 2, //!< Is the simulator paused?
|
||||
};
|
||||
Q_DECLARE_FLAGS(SimulatorStatus, SimulatorStatusFlag)
|
||||
|
||||
Q_DECLARE_FLAGS(SimulatorStatus, SimulatorStatusFlag)
|
||||
|
||||
@@ -180,6 +182,7 @@ namespace BlackCore
|
||||
|
||||
signals:
|
||||
//! Simulator combined status
|
||||
//! \todo Qt5.5: Make use of QFlags
|
||||
void simulatorStatusChanged(int status);
|
||||
|
||||
//! Emitted when own aircraft model has changed
|
||||
|
||||
Reference in New Issue
Block a user