mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-10 22:15:34 +08:00
refs #366 cleanup
* Removed obsolete signal from IContextSimulator * Removed connectToSimulator() method from IContextSimulator as it is no longer relevant * CSimulatorComponent updates automatically when simulator disconnects * FS9 & FSX drivers update (including FSCommon)
This commit is contained in:
committed by
Roland Winklmeier
parent
63e48ae332
commit
4d4acb20bc
@@ -47,7 +47,7 @@ namespace BlackSimPlugin
|
||||
{
|
||||
CSimulatorFs9::CSimulatorFs9(IOwnAircraftProvider *ownAircraftProvider,
|
||||
IRemoteAircraftProvider *remoteAircraftProvider, QObject *parent) :
|
||||
CSimulatorFsCommon(CSimulatorPluginInfo::FS9(), ownAircraftProvider, remoteAircraftProvider, parent)
|
||||
CSimulatorFsCommon(ownAircraftProvider, remoteAircraftProvider, parent)
|
||||
{
|
||||
connect(lobbyClient.data(), &CLobbyClient::disconnected, this, std::bind(&CSimulatorFs9::simulatorStatusChanged, this, 0));
|
||||
connect(fs9Host.data(), &CFs9Host::customPacketReceived, this, &CSimulatorFs9::ps_processFs9Message);
|
||||
@@ -293,7 +293,7 @@ namespace BlackSimPlugin
|
||||
|
||||
if (m_lobbyConnected && fs9Host->isConnected())
|
||||
{
|
||||
emit simulatorStarted(m_simulatorInfo);
|
||||
emit simulatorStarted();
|
||||
m_lobbyConnected = false;
|
||||
}
|
||||
});
|
||||
@@ -339,11 +339,6 @@ namespace BlackSimPlugin
|
||||
return new CSimulatorFs9(ownAircraftProvider, remoteAircraftProvider, parent);
|
||||
}
|
||||
|
||||
BlackSim::CSimulatorPluginInfo CSimulatorFs9Factory::getSimulatorInfo() const
|
||||
{
|
||||
return CSimulatorPluginInfo::FS9();
|
||||
}
|
||||
|
||||
BlackCore::ISimulatorListener *CSimulatorFs9Factory::createListener(QObject *parent)
|
||||
{
|
||||
return new CSimulatorFs9Listener(parent);
|
||||
|
||||
Reference in New Issue
Block a user