Add pure virtual functions initPlugin() and initVMCPlugin().
This commit is contained in:
parent
5f7fc7f168
commit
d15d15b55a
@ -42,18 +42,26 @@ public:
|
|||||||
STOP_RECEIPT, // e.g. Szeged Stop
|
STOP_RECEIPT, // e.g. Szeged Stop
|
||||||
};
|
};
|
||||||
|
|
||||||
explicit UnifiedDCVMCInterface(QObject *parent = nullptr) : QObject(parent) {}
|
explicit UnifiedDCVMCInterface() = default;
|
||||||
virtual ~UnifiedDCVMCInterface() {}
|
virtual ~UnifiedDCVMCInterface() = default;
|
||||||
|
|
||||||
|
virtual const QString & getPluginInfo() = 0;
|
||||||
|
|
||||||
|
// mandantory ATBAPP plugin methods:
|
||||||
|
virtual PLUGIN_STATE getState() = 0;
|
||||||
|
virtual QString getLastError() = 0;
|
||||||
|
virtual QString getLastErrorDescription() = 0;
|
||||||
|
|
||||||
virtual PLUGIN_STATE initPlugin(QObject *eventReceiver,
|
virtual PLUGIN_STATE initPlugin(QObject *eventReceiver,
|
||||||
QObject *atbSystem,
|
QObject *atbSystem,
|
||||||
QObject *hmiConfig,
|
QObject *hmiConfig,
|
||||||
QSettings const &settings) = 0;
|
QSettings const &settings) = 0;
|
||||||
|
|
||||||
// mandantory ATBAPP plugin methods:
|
virtual PLUGIN_STATE initVMCPlugin(QObject *eventReceiver,
|
||||||
virtual PLUGIN_STATE getState() = 0;
|
QObject *atbSystem, QObject *hmiConfig,
|
||||||
virtual QString getLastError() = 0;
|
const QSettings & settings) = 0;
|
||||||
virtual QString getLastErrorDescription() = 0;
|
|
||||||
|
#if 0
|
||||||
|
|
||||||
virtual QString getString(RESULT_STATE resultState) = 0;
|
virtual QString getString(RESULT_STATE resultState) = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user