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