Ref T111, added utility functions used for swift plugin (dummy driver)

* new reader functions
* plugin info
This commit is contained in:
Klaus Basan
2017-07-26 14:05:12 +02:00
committed by Mathew Sutcliffe
parent 29e1d54e05
commit b1295cd457
11 changed files with 75 additions and 13 deletions

View File

@@ -12,6 +12,7 @@
#ifndef BLACKMISC_SIMULATION_SIMULATORPLUGININFO_H
#define BLACKMISC_SIMULATION_SIMULATORPLUGININFO_H
#include "blackmisc/simulation/simulatorinfo.h"
#include "blackmisc/blackmiscexport.h"
#include "blackmisc/metaclass.h"
#include "blackmisc/valueobject.h"
@@ -58,6 +59,12 @@ namespace BlackMisc
//! Simulator
const QString &getSimulator() const { return m_simulator; }
//! Simulator info object
BlackMisc::Simulation::CSimulatorInfo getSimulatorInfo() const;
//! Is this the pseudo swift driver?
bool isSwiftPlugin() const;
//! Description
const QString &getDescription() const { return m_description; }
@@ -76,6 +83,9 @@ namespace BlackMisc
//! Plugin identifier (XPlane)
static const QString &xplanePluginIndentifier();
//! Plugin identifier (swift pseudo driver)
static const QString &swiftPluginIndentifier();
//! All valid identifiers
static const QStringList &allIdentifiers();