6 #ifndef SWIFT_MISC_SIMULATION_MODELCONVERTERX_H
7 #define SWIFT_MISC_SIMULATION_MODELCONVERTERX_H
16 namespace swift::misc::simulation
28 static bool supportsModelConverterX();
46 static const char *
key() {
return "mapping/modelconverterxbin"; }
51 if (value.
isEmpty()) {
return true; }
Aircraft model (used by another pilot, my models on disk)
Simple utility class to support ModelConverterX integration.
CModelConverterX()=delete
Default constructor.
bool exists(const QString &fileName)
bool isEmpty() const const
Base class for traits to be used as template argument to swift::misc::CSetting.
static bool isValid(const QString &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.
#define SWIFT_MISC_EXPORT
Export a class or function from the library.