mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
Ref T171, FS9 driver: made "private slots" -> "private"
This commit is contained in:
@@ -137,7 +137,7 @@ namespace BlackSimPlugin
|
||||
if (!m_fs9Host->isConnected()) { return false; } // host not available, we quit
|
||||
|
||||
Q_ASSERT_X(m_fsuipc, Q_FUNC_INFO, "No FSUIPC");
|
||||
m_connectionHostMessages = connect(m_fs9Host.data(), &CFs9Host::customPacketReceived, this, &CSimulatorFs9::ps_processFs9Message);
|
||||
m_connectionHostMessages = connect(m_fs9Host.data(), &CFs9Host::customPacketReceived, this, &CSimulatorFs9::processFs9Message);
|
||||
|
||||
if (m_useFsuipc)
|
||||
{
|
||||
@@ -321,10 +321,10 @@ namespace BlackSimPlugin
|
||||
void CSimulatorFs9::timerEvent(QTimerEvent *event)
|
||||
{
|
||||
Q_UNUSED(event);
|
||||
ps_dispatch();
|
||||
dispatch();
|
||||
}
|
||||
|
||||
void CSimulatorFs9::ps_dispatch()
|
||||
void CSimulatorFs9::dispatch()
|
||||
{
|
||||
if (m_useFsuipc && m_fsuipc && m_fsuipc->isConnected())
|
||||
{
|
||||
@@ -337,7 +337,7 @@ namespace BlackSimPlugin
|
||||
}
|
||||
}
|
||||
|
||||
void CSimulatorFs9::ps_processFs9Message(const QByteArray &message)
|
||||
void CSimulatorFs9::processFs9Message(const QByteArray &message)
|
||||
{
|
||||
if (!m_simConnected)
|
||||
{
|
||||
|
||||
@@ -86,14 +86,14 @@ namespace BlackSimPlugin
|
||||
virtual void onRemoteProviderAddedAircraftParts(const BlackMisc::Aviation::CCallsign &callsign, const BlackMisc::Aviation::CAircraftParts &parts) override;
|
||||
//! @}
|
||||
|
||||
private slots:
|
||||
//! Dispatch SimConnect messages
|
||||
void ps_dispatch();
|
||||
private:
|
||||
//! Dispatch FSUIPC reading
|
||||
//! \remark very frequently called
|
||||
void dispatch();
|
||||
|
||||
//! Process incoming FS9 message
|
||||
void ps_processFs9Message(const QByteArray &message);
|
||||
void processFs9Message(const QByteArray &message);
|
||||
|
||||
private:
|
||||
//! Called when data about our own aircraft are received
|
||||
void updateOwnAircraftFromSimulator(const BlackMisc::Simulation::CSimulatedAircraft &ownAircraft);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user