refs #811, get count in readers/services

This commit is contained in:
Klaus Basan
2016-11-18 21:49:25 +01:00
parent 0bedc9f084
commit b6a59decc7
4 changed files with 19 additions and 0 deletions

View File

@@ -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); }