mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +08:00
Allow to find and select the default distributors
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include <QJsonObject>
|
||||
#include <QMetaType>
|
||||
#include <QMap>
|
||||
#include <QSet>
|
||||
#include <QString>
|
||||
|
||||
namespace BlackMisc
|
||||
@@ -125,6 +126,15 @@ namespace BlackMisc
|
||||
//! Object from JSON
|
||||
static CDistributor fromDatabaseJson(const QJsonObject &json, const QString &prefix = QString());
|
||||
|
||||
//! Hardcoded keys for standard models @{
|
||||
static const QString &standardFSX();
|
||||
static const QString &standardP3D();
|
||||
static const QString &standardFS9();
|
||||
static const QString &standardXPlane();
|
||||
static const QString &standardFlightGear();
|
||||
static const QSet<QString> &standardAllFsFamily();
|
||||
//! @}
|
||||
|
||||
private:
|
||||
QString m_description; //!< description
|
||||
QString m_alias1; //!< alias name
|
||||
|
||||
Reference in New Issue
Block a user