mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 15:25:34 +08:00
refactor: Remove unused convenience functions
This commit is contained in:
@@ -49,11 +49,6 @@ namespace swift::core::context
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
CSimulatorInfo IContextSimulator::getSimulatorInfo() const
|
|
||||||
{
|
|
||||||
return this->getSimulatorPluginInfo().getSimulatorInfo();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool IContextSimulator::isSimulatorAvailable() const
|
bool IContextSimulator::isSimulatorAvailable() const
|
||||||
{
|
{
|
||||||
return CBuildConfig::isCompiledWithFlightSimulatorSupport() && !this->getSimulatorPluginInfo().isUnspecified();
|
return CBuildConfig::isCompiledWithFlightSimulatorSupport() && !this->getSimulatorPluginInfo().isUnspecified();
|
||||||
|
|||||||
@@ -74,11 +74,6 @@ namespace swift::core::context
|
|||||||
//! Destructor
|
//! Destructor
|
||||||
~IContextSimulator() override {}
|
~IContextSimulator() override {}
|
||||||
|
|
||||||
// ---- some convenienc functions implemented on interface level
|
|
||||||
|
|
||||||
//! Current simulator
|
|
||||||
misc::simulation::CSimulatorInfo getSimulatorInfo() const;
|
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
//! Simulator combined status
|
//! Simulator combined status
|
||||||
//! \sa ISimulator::SimulatorStatus
|
//! \sa ISimulator::SimulatorStatus
|
||||||
|
|||||||
Reference in New Issue
Block a user