6 #ifndef SWIFT_MISC_SIMULATION_FSCOMMON_AIRCRAFTCFGENTRY_H
7 #define SWIFT_MISC_SIMULATION_FSCOMMON_AIRCRAFTCFGENTRY_H
21 namespace swift::misc::simulation::fscommon
32 IndexEntryIndex = CPropertyIndexRef::GlobalIndexCAircraftCfgEntries,
64 QString getFileDirectory()
const;
112 QString getUiCombinedDescription()
const;
115 void setFileName(
const QString &filePath);
118 void setTitle(
const QString &title);
124 void setAtcModel(
const QString &atcModel);
127 void setAtcType(
const QString &atcType);
130 void setAtcParkingCode(
const QString &parkingCode);
133 void setAtcAirline(
const QString &airline);
139 void setSimName(
const QString &simName);
142 void setDescription(
const QString &description);
145 void setCreatedBy(
const QString &createdBy);
148 void setTexture(
const QString &texture);
151 void setUiType(
const QString &type);
172 QString convertToQString(
bool i18n =
false)
const;
190 bool m_rotorcraft =
false;
Non-owning reference to a CPropertyIndex with a subset of its features.
Mix of the most commonly used mixin classes.
ColumnIndex
Base class enums.
Aircraft model (used by another pilot, my models on disk)
Set of aircraft.cfg entries representing an aircraft (FSX)
bool isRotorcraft() const
Is Rotorcraft?
const QString & getUiVariation() const
UI variation (e.g. White,Green)
const QString & getDescription() const
Description.
CAircraftCfgEntries()=default
Default constructor.
const QString & getTexture() const
Texture.
const QString & getAtcParkingCode() const
ATC parking code.
const QString & getCreatedBy() const
Created by.
const QString & getAtcAirline() const
ATC airline.
const QString & getUiManufacturer() const
UI manufacturer (e.g. Airbus)
const QString & getFileName() const
File name.
void setIndex(int index)
Index.
const QString & getTitle() const
Title.
const QString & getUiType() const
UI type (e.g. A321-231 IAE)
const QString & getAtcType() const
ATC type.
void setRotorcraft(bool isRotorcraft)
Is Rotorcraft?
void setUiVariation(const QString &variation)
UI variation (e.g. White,Green)
void setAtcIdColor(const QString &color)
ATC color (e.g. 0xffffffff)
const QString & getSimName() const
Sim name.
const QString & getAtcModel() const
ATC model.
const QString & getAtcIdColor() const
ATC id color (e.g. 0xffffffff)
void setUiManufacturer(const QString &manufacturer)
UI manufacturer (e.g. Airbus)
int getIndex() const
Index.
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 ...