add handling for meta-data json file
This commit is contained in:
parent
078dd94e60
commit
1c2ac9f4da
@ -3,14 +3,13 @@
|
|||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QSettings>
|
#include <QSettings>
|
||||||
|
#include <QtPlugin>
|
||||||
|
|
||||||
#include "src/ATBAPP/ATBAPPplugin.h"
|
#include "src/ATBAPP/ATBAPPplugin.h"
|
||||||
#include "src/ATBAPP/VMCInterface.h"
|
#include "src/ATBAPP/VMCInterface.h"
|
||||||
#include "src/ATBAPP/UnifiedDCVMCInterface.h"
|
#include "src/ATBAPP/UnifiedDCVMCInterface.h"
|
||||||
|
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
|
||||||
#include "include/interfaces.h"
|
|
||||||
#include "vmc.h"
|
#include "vmc.h"
|
||||||
|
|
||||||
class ATBVMCPlugin : public VMCInterface {
|
class ATBVMCPlugin : public VMCInterface {
|
||||||
@ -18,15 +17,16 @@ class ATBVMCPlugin : public VMCInterface {
|
|||||||
|
|
||||||
Q_INTERFACES(VMCInterface)
|
Q_INTERFACES(VMCInterface)
|
||||||
|
|
||||||
#if QT_VERSION >= 0x050000
|
#if QT_VERSION >= 0x050000
|
||||||
Q_PLUGIN_METADATA( IID "ATBVMCPlugin" )
|
Q_PLUGIN_METADATA(IID "eu.atb.ptu.plugin.ATBVMCPlugin" FILE "plugins/metadata.json")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit ATBVMCPlugin(QObject *parent = nullptr);
|
explicit ATBVMCPlugin(QObject *parent = nullptr);
|
||||||
virtual ~ATBVMCPlugin();
|
virtual ~ATBVMCPlugin();
|
||||||
|
|
||||||
virtual const QString & getPluginInfo() override;
|
virtual const QString & getPluginInfo() override;
|
||||||
|
virtual void setPluginInfo(QString const &info) override;
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// interface:
|
// interface:
|
||||||
|
Loading…
Reference in New Issue
Block a user