mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
Check UNC path to avoid "hanging" if other machine is not reachable
This commit is contained in:
committed by
Mat Sutcliffe
parent
04562a6651
commit
e839820940
@@ -473,6 +473,10 @@ namespace BlackMisc
|
||||
//! All file names
|
||||
QSet<QString> getAllFileNames() const;
|
||||
|
||||
//! All UNC file names
|
||||
//! \remark Windows on a "shared drive" paths
|
||||
QSet<QString> getAllUNCFileNames() const;
|
||||
|
||||
//! All combined types as string
|
||||
QString getCombinedTypesAsString(const QString &separator = ", ") const;
|
||||
|
||||
@@ -555,6 +559,10 @@ namespace BlackMisc
|
||||
const Aviation::CAircraftCategoryList &aircraftCategories = {},
|
||||
const Aviation::CLiveryList &liveries = {},
|
||||
const CDistributorList &distributors = {});
|
||||
|
||||
private:
|
||||
//! Validate UNC paths (Windows)
|
||||
CStatusMessageList validateUncFiles(const QSet<QString> uncFiles) const;
|
||||
};
|
||||
|
||||
//! Model per callsign
|
||||
|
||||
Reference in New Issue
Block a user