6 #ifndef SWIFT_MISC_SIMULATION_SETTINGS_SWIFTPLUGINSETTINGS_H
7 #define SWIFT_MISC_SIMULATION_SETTINGS_SWIFTPLUGINSETTINGS_H
17 namespace swift::misc::simulation::settings
26 IndexEmulatedSimulator = CPropertyIndexRef::GlobalIndexCSwiftPluignSettings,
29 IndexLoggingFunctionCalls
60 QString convertToQString(
bool i18n =
false)
const;
72 bool m_logFunctionCalls =
true;
86 static const char *
key() {
return "settingsswiftplugin"; }
91 static const QString name(
"swift plugin");
Generic ordered container with value semantics.
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)
Simple hardcoded info about the corresponding simulator.
bool isSingleSimulator() const
Single simulator selected.
const CAircraftModel & getOwnModel() const
Get own model.
void setOwnModel(const CAircraftModel &ownModel)
Set own model.
CSimulatorInfo getEmulatedSimulator() const
Emulated simualtor.
void setLoggingFunctionCalls(bool log)
Log function calls?
bool isLoggingFunctionCalls() const
Log function calls?
const CAircraftModel & getDefaultModel() const
Get default model.
void setDefaultModel(const CAircraftModel &defaultModel)
Set default model.
Base class for traits to be used as template argument to swift::misc::CSetting.
Trait for swift plugin settings.
static bool isValid(const CSwiftPluginSettings &value, QString &)
Validator function. Return true if the argument is valid, false otherwise. Default implementation jus...
static const char * key()
Key string of the value. Reimplemented in derived class.
static const QString & humanReadable()
Optional human readable name.
#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 ...