Ref T111, search for location/name

This commit is contained in:
Klaus Basan
2017-08-08 23:52:48 +02:00
committed by Mathew Sutcliffe
parent 58b5dd1278
commit bb4f0e7a13
4 changed files with 61 additions and 4 deletions

View File

@@ -49,6 +49,9 @@ namespace BlackMisc
//! Find first station by callsign, if not return given value / default
CAirport findFirstByIcao(const CAirportIcaoCode &icao, const CAirport &ifNotFound = CAirport()) const;
//! Find first by name or location, if not return given value / default
CAirport findFirstByNameOrLocation(const QString &nameOrLocation, const CAirport &ifNotFound = CAirport()) const;
//! Containing an airport with given ICAO code?
bool containsAirportWithIcaoCode(const CAirportIcaoCode &icao) const;