Remove unused methods

This commit is contained in:
Lars Toenning
2023-02-06 00:24:18 +01:00
parent a96d792e25
commit 7fdb1035d1
6 changed files with 0 additions and 37 deletions

View File

@@ -563,18 +563,6 @@ namespace BlackMisc::Simulation
m_pilot.setCallsign(callsign);
}
bool CSimulatedAircraft::isActiveFrequencyWithin8_33kHzChannel(const CFrequency &comFrequency) const
{
return m_com1system.isActiveFrequencyWithin8_33kHzChannel(comFrequency) ||
m_com2system.isActiveFrequencyWithin8_33kHzChannel(comFrequency);
}
bool CSimulatedAircraft::isActiveFrequencyWithin25kHzChannel(const CFrequency &comFrequency) const
{
return m_com1system.isActiveFrequencyWithin25kHzChannel(comFrequency) ||
m_com2system.isActiveFrequencyWithin25kHzChannel(comFrequency);
}
bool CSimulatedAircraft::isActiveFrequencyWithinChannelSpacing(const CFrequency &comFrequency) const
{
return m_com1system.isActiveFrequencySameFrequency(comFrequency) ||

View File

@@ -290,12 +290,6 @@ namespace BlackMisc
//! Identical COM system?
bool hasSameComData(const Aviation::CComSystem &com1, const Aviation::CComSystem &com2, const Aviation::CTransponder &transponder);
//! Is any (COM1/2) active frequency within 8.3383kHz channel?
bool isActiveFrequencyWithin8_33kHzChannel(const PhysicalQuantities::CFrequency &comFrequency) const;
//! Is any (COM1/2) active frequency within 25kHz channel?
bool isActiveFrequencyWithin25kHzChannel(const PhysicalQuantities::CFrequency &comFrequency) const;
//! Is any (COM1/2) active frequency within the COM units channel spacing?
bool isActiveFrequencyWithinChannelSpacing(const PhysicalQuantities::CFrequency &comFrequency) const;