6 #ifndef SWIFT_MISC_SIMULATION_DISTRIBUTOR_H
7 #define SWIFT_MISC_SIMULATION_DISTRIBUTOR_H
26 namespace swift::misc::simulation
38 IndexDescription = CPropertyIndexRef::GlobalIndexCDistributor,
59 QString getIdAndDescription()
const;
80 bool hasAlias1()
const {
return !m_alias1.isEmpty(); }
83 bool hasAlias2()
const {
return !m_alias2.isEmpty(); }
92 bool matchesKeyOrAlias(
const QString &keyOrAlias)
const;
95 bool matchesKeyOrAlias(
const CDistributor &distributor)
const;
110 QString convertToQString(
bool i18n =
false)
const;
113 bool hasCompleteData()
const;
119 void updateMissingParts(
const CDistributor &otherDistributor);
126 static const QString &standardFSX();
127 static const QString &standardP3D();
128 static const QString &standardFS9();
129 static const QString &standardXPlane();
130 static const QString &standardFlightGear();
133 static const QString &xplaneBlueBell();
134 static const QString &xplaneXcsl();
135 static const QString &standardMsfs();
136 static const QString &standardMsfs2024();
Non-owning reference to a CPropertyIndex with a subset of its features.
Status messages, e.g. from Core -> GUI.
Mix of the most commonly used mixin classes.
Entity with order attribute (can be manually ordered in views)
Class from which a derived class can inherit datastore-related functions.
ColumnIndex
Property index.
Value object encapsulating information of software distributor.
bool hasAlias1() const
Alias 1?
void setDescription(const QString &description)
Set description.
const swift::misc::simulation::CSimulatorInfo & getSimulator() const
Simulator.
const QString & getDescription() const
Get description.
void setSimulator(const swift::misc::simulation::CSimulatorInfo &simulator)
Set simulator.
bool hasAlias2() const
Alias 2?
bool hasDescription() const
Has description.
const QString & getAlias2() const
Get alias2.
void setAlias1(const QString &alias)
Set alias1.
const QString & getAlias1() const
Get alias1.
void setAlias2(const QString &alias)
Set alias2.
Simple hardcoded info about the corresponding simulator.
QString trimmed() const const
#define SWIFT_MISC_EXPORT
Export a class or function from the library.
#define SWIFT_DECLARE_VALUEOBJECT_MIXINS(Namespace, Class)
Explicit template declaration of mixins for a CValueObject subclass to be placed near the top of the ...