mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +08:00
Ref T298, matching setup changed signal in contexts/matcher
This commit is contained in:
@@ -55,7 +55,7 @@ namespace BlackCore
|
||||
virtual ~CAircraftMatcher();
|
||||
|
||||
//! Set the setup
|
||||
void setSetup(const BlackMisc::Simulation::CAircraftMatcherSetup &setup) { m_setup = setup; }
|
||||
bool setSetup(const BlackMisc::Simulation::CAircraftMatcherSetup &setup);
|
||||
|
||||
//! Get the setup
|
||||
BlackMisc::Simulation::CAircraftMatcherSetup getSetup() const { return m_setup; }
|
||||
@@ -174,6 +174,10 @@ namespace BlackCore
|
||||
//! Evaluate if a statistics entry makes sense and add it
|
||||
void evaluateStatisticsEntry(const QString &sessionId, const BlackMisc::Aviation::CCallsign &callsign, const QString &aircraftIcao, const QString &airlineIcao, const QString &livery);
|
||||
|
||||
signals:
|
||||
//! Setup changed
|
||||
void setupChanged();
|
||||
|
||||
private:
|
||||
//! The search based implementation
|
||||
static BlackMisc::Simulation::CAircraftModel getClosestMatchStepwiseReduceImplementation(const BlackMisc::Simulation::CAircraftModelList &modelSet, const BlackMisc::Simulation::CAircraftMatcherSetup &setup, const BlackMisc::Simulation::CSimulatedAircraft &remoteAircraft, const BlackMisc::Simulation::CAircraftModel &defaultModel, BlackMisc::CStatusMessageList *log = nullptr);
|
||||
|
||||
Reference in New Issue
Block a user