mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
refs #811, get count in readers/services
This commit is contained in:
@@ -571,6 +571,12 @@ namespace BlackCore
|
||||
return CAirportList();
|
||||
}
|
||||
|
||||
int CWebDataServices::getAirportsCount() const
|
||||
{
|
||||
if (m_airportDataReader) { return m_airportDataReader->getAirportsCount(); }
|
||||
return 0;
|
||||
}
|
||||
|
||||
CCountry CWebDataServices::getCountryForIsoCode(const QString &iso) const
|
||||
{
|
||||
if (m_icaoDataReader) { return m_icaoDataReader->getCountryForIsoCode(iso); }
|
||||
|
||||
Reference in New Issue
Block a user