mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
Allow to validate models against a root directory of the simulator
The XPlane aircraft needs to be inside the XPlane folder Ref T247 follow up
This commit is contained in:
committed by
Mat Sutcliffe
parent
0c335beea6
commit
fd8cf4337b
@@ -270,7 +270,7 @@ namespace BlackMisc
|
||||
bool isLikelyFsxFamilyModelList() const;
|
||||
|
||||
//! Is this here a XPlane model list?
|
||||
bool isLikelyXplaneModelList() const;
|
||||
bool isLikelyXPlaneModelList() const;
|
||||
|
||||
//! Set mode for all elements
|
||||
int setModelMode(CAircraftModel::ModelMode mode);
|
||||
@@ -453,8 +453,8 @@ namespace BlackMisc
|
||||
//! Validate distributors
|
||||
CStatusMessageList validateDistributors(const CDistributorList &distributors, CAircraftModelList &validModels, CAircraftModelList &invalidModels) const;
|
||||
|
||||
//! Validate distributors
|
||||
CStatusMessageList validateFiles(CAircraftModelList &validModels, CAircraftModelList &invalidModels, bool ignoreEmpty, int stopAtFailedFiles, bool &stopped, bool alreadySorted = false) const;
|
||||
//! Validate files (file exists etc.)
|
||||
CStatusMessageList validateFiles(CAircraftModelList &validModels, CAircraftModelList &invalidModels, bool ignoreEmpty, int stopAtFailedFiles, bool &stopped, const QString &rootDirectory, bool alreadySortedByFn = false) const;
|
||||
|
||||
//! To compact JSON format
|
||||
QJsonObject toMemoizedJson() const;
|
||||
|
||||
Reference in New Issue
Block a user