use extended version of initVMCPlugin()
This commit is contained in:
parent
08655a0229
commit
f85bf3debf
@ -12,10 +12,6 @@
|
||||
#include "include/interfaces.h"
|
||||
#include "vmc.h"
|
||||
|
||||
class ATBHMIconfig;
|
||||
class AppControl;
|
||||
class ATBSystem;
|
||||
|
||||
class ATBVMCPlugin : public VMCInterface {
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(ATBAPPplugin)
|
||||
@ -30,8 +26,10 @@ public:
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// interface:
|
||||
PLUGIN_STATE initVMCPlugin(QObject *eventReceiver, QSettings const &settings);
|
||||
PLUGIN_STATE initVMCPlugin(QObject *eventReceiver, ATBHMIconfig *config);
|
||||
virtual PLUGIN_STATE initVMCPlugin(QObject *eventReceiver,
|
||||
QObject *atbSystem,
|
||||
QObject *hmiConfig,
|
||||
QSettings const &settings) override;
|
||||
|
||||
// mandantory ATBAPP plugin methods: ------------------------------------------
|
||||
PLUGIN_STATE getState() override;
|
||||
@ -61,9 +59,8 @@ private:
|
||||
QString m_serialPortName;
|
||||
bool m_useDebug;
|
||||
PLUGIN_STATE m_pluginState;
|
||||
QObject* m_eventReceiver;
|
||||
QSettings const *m_settings;
|
||||
ATBHMIconfig *m_config;
|
||||
QObject* m_appControl;
|
||||
VMC *m_vmc;
|
||||
};
|
||||
|
||||
#endif // ATBDEVICECONTROLLERPLUGIN_H
|
||||
|
Loading…
Reference in New Issue
Block a user