6#ifndef SWIFT_MISC_SIMULATION_FSDIRECTORIES_H
7#define SWIFT_MISC_SIMULATION_FSDIRECTORIES_H
14namespace swift::misc::simulation::fscommon
static const QString & fsxSimObjectsDirFromRegistry()
FSX's simObject directory from registry.
static QSet< QString > allConfigFilesPathValues(const QStringList &configFiles, bool checked, const QString &pathPrefix)
All PATH values from the config files.
static QStringList p3dSimObjectsDirPlusAddOnXmlSimObjectsPaths(const QString &simObjectsDir, const QString &versionHint)
P3D's simObject dir and the add on dirs.
static const QString & msfsSimObjectsDir()
MSFS's simobject dir, resolved from multiple sources.
static const QStringList & msfs2024SimObjectsExcludeDirectoryPatterns()
Exclude directories for simObjects.
static const QStringList & msfs20SimObjectsExcludeDirectoryPatterns()
Exclude directories for simObjects.
CFsDirectories()=delete
Constructor.
static const QString & fsxDirFromRegistry()
FSX directory obtained from registry.
static const QString & msfs2024SimObjectsDir()
MSFS's simobject dir, resolved from multiple sources.
static const QString & p3dDirFromRegistry()
P3D directory obtained from registry.
static QString fsxSimObjectsDirFromSimDir(const QString &simDir)
FSX aircraft dir, relative to simulator directory.
static QStringList fsxSimObjectsDirPlusAddOnXmlSimObjectsPaths(const QString &simObjectsDir="")
FSX's simObject dir and the add on dirs.
static QStringList msfs2024SimObjectsDirPath(const QString &simObjectsDir="")
MSFS2024's simObject dir and the add on dirs.
static const QString & fsxDir()
FSX directory from different sources.
static const QString & msfs2024Dir()
MSFS directory from different sources.
static const QStringList & fsxSimObjectsExcludeDirectoryPatterns()
Exclude directories for simObjects.
static const QStringList & p3dSimObjectsExcludeDirectoryPatterns()
Exclude directories for simObjects.
static QSet< QString > msfsSimObjectsPaths(const QStringList &msfsFiles, bool checked)
Get all the SimObjects paths from msfs.cfg.
static const QString & msfs2024PackagesDir()
MSFS's packages dir.
static QString p3dSimObjectsDirFromSimDir(const QString &simDir)
P3D aircraft dir, relative to simulator directory.
static QStringList findFsxConfigFiles()
Find the config files (fsx.cfg).
static const QString & p3dSimObjectsDirFromRegistry()
P3D's simObject directory from registry.
static QSet< QString > fsxSimObjectsPaths(const QStringList &fsxFiles, bool checked)
Get all the SimObjects paths from fsx.cfg.
static const QStringList & getLogCategories()
Log categories.
static QSet< QString > findP3dSimObjectsConfigFiles(const QString &versionHint="v5")
Find the config files (simobjects.cfg).
static const QString & fsxSimObjectsDir()
FSX's simobject dir, resolved from multiple sources.
static QString guessP3DVersion(const QString &candidate)
Guess the P3D version such as v4, v5.
static QSet< QString > allP3dAddOnXmlSimObjectPaths(const QStringList &addOnPaths, bool checked)
All add-on paths from the XML add-on files "add-on.xml".
static QSet< QString > allFsxSimObjectPaths()
Get all the SimObjects paths from all config files.
static const QString & p3dDir()
P3D directory from different sources.
static QSet< QString > findP3dAddOnConfigFiles(const QString &versionHint="v5")
Find the config files (add-ons.cfg).
static const QString & msfsDir()
MSFS directory from different sources.
static const QString & p3dSimObjectsDir()
P3D's simObject dir, resolved from multiple sources.
static const QString & airFileFilter()
.air file filter
static QStringList msfsSimObjectsDirPath(const QString &simObjectsDir="")
MSFS's simObject dir and the add on dirs.
static const QString & msfsPackagesDir()
MSFS's packages dir.
#define SWIFT_MISC_EXPORT
Export a class or function from the library.