mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 16:56:53 +08:00
Ref T658, renamed to "MatchingScriptReturnValues" because it is NO object to be used in matching script
This commit is contained in:
committed by
Mat Sutcliffe
parent
4e24edcb0a
commit
7b6650db32
@@ -272,12 +272,12 @@ namespace BlackGui
|
||||
return model;
|
||||
}
|
||||
|
||||
MSReturnValues CModelMatcherComponent::matchingScript(const CAircraftModel &inModel, const CAircraftMatcherSetup &setup, CStatusMessageList &msgs)
|
||||
MatchingScriptReturnValues CModelMatcherComponent::matchingScript(const CAircraftModel &inModel, const CAircraftMatcherSetup &setup, CStatusMessageList &msgs)
|
||||
{
|
||||
// Script
|
||||
if (setup.doRunMsReverseLookupScript())
|
||||
{
|
||||
const MSReturnValues rv = CAircraftMatcher::reverseLookupScript(inModel, setup, &msgs);
|
||||
const MatchingScriptReturnValues rv = CAircraftMatcher::reverseLookupScript(inModel, setup, &msgs);
|
||||
if (rv.runScriptAndModified())
|
||||
{
|
||||
return rv;
|
||||
|
||||
@@ -94,7 +94,7 @@ namespace BlackGui
|
||||
BlackMisc::Simulation::CAircraftModel defaultModel() const;
|
||||
|
||||
//! Run matching script
|
||||
static BlackMisc::Simulation::MSReturnValues matchingScript(const BlackMisc::Simulation::CAircraftModel &inModel, const BlackMisc::Simulation::CAircraftMatcherSetup &setup, BlackMisc::CStatusMessageList &msgs);
|
||||
static BlackMisc::Simulation::MatchingScriptReturnValues matchingScript(const BlackMisc::Simulation::CAircraftModel &inModel, const BlackMisc::Simulation::CAircraftMatcherSetup &setup, BlackMisc::CStatusMessageList &msgs);
|
||||
|
||||
QScopedPointer<Ui::CModelMatcherComponent> ui;
|
||||
QPointer<Views::CAircraftModelView> m_workbenchView; //!< an external workbenc
|
||||
|
||||
Reference in New Issue
Block a user