6 #ifndef SWIFT_MISC_SIMULATION_MODELCONVERTERX_H
7 #define SWIFT_MISC_SIMULATION_MODELCONVERTERX_H
16 namespace swift::misc::simulation
28 static bool supportsModelConverterX();
31 static QProcess *startModelConverterX(
const CAircraftModel &model, QObject *parent);
35 static QString getBinary();
37 static QProcess *s_proccess;
46 static const char *
key() {
return "mapping/modelconverterxbin"; }
49 static bool isValid(
const QString &value, QString &)
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.
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.