mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-02 23:35:40 +08:00
@@ -64,6 +64,14 @@ namespace BlackSimPlugin
|
|||||||
//! \copydoc ISimulator::canConnect()
|
//! \copydoc ISimulator::canConnect()
|
||||||
virtual bool canConnect() override;
|
virtual bool canConnect() override;
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* \brief SimConnect Callback
|
||||||
|
* \param pData
|
||||||
|
* \param cbData
|
||||||
|
* \param pContext
|
||||||
|
*/
|
||||||
|
static void CALLBACK SimConnectProc(SIMCONNECT_RECV *pData, DWORD cbData, void *pContext);
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
|
|
||||||
//! \copydoc ISimulator::connectTo()
|
//! \copydoc ISimulator::connectTo()
|
||||||
@@ -71,6 +79,7 @@ namespace BlackSimPlugin
|
|||||||
|
|
||||||
//! \copydoc ISimulator::disconnectFrom()
|
//! \copydoc ISimulator::disconnectFrom()
|
||||||
virtual bool disconnectFrom() override;
|
virtual bool disconnectFrom() override;
|
||||||
|
|
||||||
//! \copydoc ISimulator::getOwnAircraft()
|
//! \copydoc ISimulator::getOwnAircraft()
|
||||||
virtual BlackMisc::Aviation::CAircraft getOwnAircraft() const override { return m_ownAircraft; }
|
virtual BlackMisc::Aviation::CAircraft getOwnAircraft() const override { return m_ownAircraft; }
|
||||||
|
|
||||||
@@ -86,14 +95,6 @@ namespace BlackSimPlugin
|
|||||||
//! \copydoc ISimulator::getSimulatorInfo()
|
//! \copydoc ISimulator::getSimulatorInfo()
|
||||||
virtual BlackSim::CSimulatorInfo getSimulatorInfo() const override;
|
virtual BlackSim::CSimulatorInfo getSimulatorInfo() const override;
|
||||||
|
|
||||||
/*!
|
|
||||||
* \brief SimConnect Callback
|
|
||||||
* \param pData
|
|
||||||
* \param cbData
|
|
||||||
* \param pContext
|
|
||||||
*/
|
|
||||||
static void CALLBACK SimConnectProc(SIMCONNECT_RECV *pData, DWORD cbData, void *pContext);
|
|
||||||
|
|
||||||
//! \brief Called when sim has started
|
//! \brief Called when sim has started
|
||||||
void onSimRunning();
|
void onSimRunning();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user