Ref T689 Add validation that XP model directories are within the XP sim directory.

This commit is contained in:
Mat Sutcliffe
2019-06-23 17:10:34 +01:00
parent aa9e2b70cc
commit 982861f132
4 changed files with 39 additions and 1 deletions

View File

@@ -184,6 +184,9 @@ namespace BlackMisc
//! Same existing directories
static bool isSameExistingDirectory(const QString &dir1, const QString &dir2);
//! Is dir1 a subdirectory (possibly nested) of dir2 or the same directory
static bool isSubDirectoryOf(const QString &dir1, const QString &dir2);
//! Result of directory comparison
struct DirComparison
{