mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 03:45:30 +08:00
Remove unused methods
This commit is contained in:
@@ -280,11 +280,6 @@ namespace BlackMisc::Aviation
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CAtcStation::isComUnitTunedIn25KHz(const CComSystem &comUnit) const
|
||||
{
|
||||
return comUnit.isActiveFrequencyWithin25kHzChannel(this->getFrequency());
|
||||
}
|
||||
|
||||
bool CAtcStation::isComUnitTunedInChannelSpacing(const CComSystem &comUnit) const
|
||||
{
|
||||
return comUnit.isActiveFrequencySameFrequency(this->getFrequency());
|
||||
|
||||
@@ -197,9 +197,6 @@ namespace BlackMisc::Aviation
|
||||
//! Booked now?
|
||||
bool isBookedNow() const;
|
||||
|
||||
//! Tuned in within 25KHz channel spacing
|
||||
bool isComUnitTunedIn25KHz(const Aviation::CComSystem &comUnit) const;
|
||||
|
||||
//! Tuned in within channel spacing
|
||||
bool isComUnitTunedInChannelSpacing(const Aviation::CComSystem &comUnit) const;
|
||||
|
||||
|
||||
@@ -29,14 +29,6 @@ namespace BlackMisc::Aviation
|
||||
CSequence<CAtcStation>(other)
|
||||
{ }
|
||||
|
||||
CAtcStationList CAtcStationList::findIfComUnitTunedIn25KHz(const CComSystem &comUnit) const
|
||||
{
|
||||
return this->findBy([&](const CAtcStation & atcStation)
|
||||
{
|
||||
return atcStation.isComUnitTunedIn25KHz(comUnit);
|
||||
});
|
||||
}
|
||||
|
||||
CAtcStationList CAtcStationList::findIfComUnitTunedInChannelSpacing(const CComSystem &comUnit) const
|
||||
{
|
||||
return this->findBy([&](const CAtcStation & atcStation)
|
||||
|
||||
@@ -45,9 +45,6 @@ namespace BlackMisc::Aviation
|
||||
//! Construct from a base class object.
|
||||
CAtcStationList(const CSequence<CAtcStation> &other);
|
||||
|
||||
//! Find 0..n stations tuned in frequency of COM unit (with 25kHz channel spacing)
|
||||
CAtcStationList findIfComUnitTunedIn25KHz(const CComSystem &comUnit) const;
|
||||
|
||||
//! Find 0..n stations tuned in frequency of COM unit (with channel spacing)
|
||||
CAtcStationList findIfComUnitTunedInChannelSpacing(const CComSystem &comUnit) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user