mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 19:35:33 +08:00
XPlane sub directory check (model dirs in XPlane dir), unified with settings is valid
This commit is contained in:
committed by
Mat Sutcliffe
parent
ac2d665c6b
commit
5799e31d27
@@ -11,8 +11,9 @@
|
||||
#ifndef BLACKMISC_SIMULATION_XPLANE_XPLANEUTIL_H
|
||||
#define BLACKMISC_SIMULATION_XPLANE_XPLANEUTIL_H
|
||||
|
||||
#include "blackmisc/logcategorylist.h"
|
||||
#include "blackmisc/statusmessagelist.h"
|
||||
#include "blackmisc/blackmiscexport.h"
|
||||
|
||||
#include <QStringList>
|
||||
|
||||
namespace BlackMisc
|
||||
@@ -28,6 +29,9 @@ namespace BlackMisc
|
||||
//! Constructor
|
||||
CXPlaneUtil() = delete;
|
||||
|
||||
//! Log categories
|
||||
static const CLogCategoryList &getLogCategories();
|
||||
|
||||
//! XPlane 9 directory
|
||||
static QString xplane9Dir();
|
||||
|
||||
@@ -99,6 +103,9 @@ namespace BlackMisc
|
||||
//! Filter filter for xpl files
|
||||
static const QStringList &xplFileFilter();
|
||||
|
||||
//! Validate the model directories
|
||||
static CStatusMessageList validateModelDirectories(const QString &simDir, const QStringList &modelDirectories);
|
||||
|
||||
private:
|
||||
//! Concatenates dirs for used OS
|
||||
static QString xplaneDir(const QString &xplaneInstallFile);
|
||||
|
||||
Reference in New Issue
Block a user