mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 12:35:43 +08:00
Functions to select distributor/ICAO in component
This commit is contained in:
committed by
Mat Sutcliffe
parent
30b65d6c36
commit
5eeb29bafe
@@ -42,7 +42,7 @@ namespace BlackGui
|
||||
explicit CDbAircraftIcaoComponent(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
virtual ~CDbAircraftIcaoComponent();
|
||||
virtual ~CDbAircraftIcaoComponent() override;
|
||||
|
||||
//! Get the view
|
||||
BlackGui::Views::CAircraftIcaoCodeView *view() const;
|
||||
@@ -50,6 +50,9 @@ namespace BlackGui
|
||||
//! Filter by ICAO as default
|
||||
void filter(const BlackMisc::Aviation::CAircraftIcaoCode &icao);
|
||||
|
||||
//! Select aircraft ICAO object
|
||||
bool selectAircraftIcao(const BlackMisc::Aviation::CAircraftIcaoCode &icao);
|
||||
|
||||
private:
|
||||
//! ICAO codes have been read
|
||||
void onIcaoRead(BlackMisc::Network::CEntityFlags::Entity entity, BlackMisc::Network::CEntityFlags::ReadState readState, int count);
|
||||
|
||||
Reference in New Issue
Block a user