mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
refs #417 Remove ISimulator::asyncConnectTo() for x-plane
This commit is contained in:
committed by
Michal Garapich
parent
e3bb701d7b
commit
23761fad13
@@ -423,8 +423,7 @@ namespace BlackCore
|
||||
settingsChanged(static_cast<uint>(IContextSettings::SettingsSimulator));
|
||||
|
||||
// try to connect
|
||||
//! \todo #417: we want to change this to connectTo, as the listener already checks the avialability of the simulator
|
||||
m_simulatorPlugin->simulator->asyncConnectTo();
|
||||
m_simulatorPlugin->simulator->connectTo();
|
||||
|
||||
if (m_simulatorPlugin) // can be already nullptr if connectTo() is synchronous and fails
|
||||
{
|
||||
|
||||
@@ -74,10 +74,6 @@ namespace BlackCore
|
||||
//! Connect to simulator
|
||||
virtual bool connectTo() = 0;
|
||||
|
||||
//! Connect asynchronously to simulator
|
||||
//! \deprecated #417
|
||||
virtual void asyncConnectTo() = 0;
|
||||
|
||||
//! Disconnect from simulator
|
||||
virtual bool disconnectFrom() = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user