mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
FSX listener adjustments, timer requires "this" parent here
https://swift-project.slack.com/archives/G7GD2UP9C/p1534445228000100
This commit is contained in:
@@ -552,18 +552,15 @@ namespace BlackCore
|
||||
int m_statsPhysicallyRemovedAircraft = 0; //!< statistics, how many aircraft removed
|
||||
};
|
||||
|
||||
//! Interface to a simulator listener.
|
||||
//! The simulator listener is responsible for letting the core know when
|
||||
//! the corresponding simulator is started.
|
||||
//! \brief Interface to a simulator listener.
|
||||
//! \details The simulator listener is responsible for letting the core know,
|
||||
//! when the corresponding simulator is started.
|
||||
//! \note Will be moved to a background thread (context)
|
||||
class BLACKCORE_EXPORT ISimulatorListener : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
//! \sa ISimulatorFactory::createListener().
|
||||
ISimulatorListener(const BlackMisc::Simulation::CSimulatorPluginInfo &info);
|
||||
|
||||
//! Destructor
|
||||
virtual ~ISimulatorListener() = default;
|
||||
|
||||
@@ -588,6 +585,10 @@ namespace BlackCore
|
||||
void simulatorStarted(const BlackMisc::Simulation::CSimulatorPluginInfo &info);
|
||||
|
||||
protected:
|
||||
//! Constructor
|
||||
//! \sa ISimulatorFactory::createListener().
|
||||
ISimulatorListener(const BlackMisc::Simulation::CSimulatorPluginInfo &info);
|
||||
|
||||
//! Plugin specific implementation to start listener
|
||||
virtual void startImpl() = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user