Minor: comment out some code.

This commit is contained in:
Gerhard Hoffmann 2023-11-14 13:41:09 +01:00
parent f96ac85a18
commit fc70115079

View File

@ -4,8 +4,9 @@
#include <QObject> #include <QObject>
#include <QSettings> #include <QSettings>
#include "src/ATBAPP/VMCInterface.h"
#include "src/ATBAPP/ATBAPPplugin.h" #include "src/ATBAPP/ATBAPPplugin.h"
#include "src/ATBAPP/VMCInterface.h"
#include "src/ATBAPP/UnifiedDCVMCInterface.h"
#include "version.h" #include "version.h"
@ -14,15 +15,18 @@
class ATBVMCPlugin : public VMCInterface { class ATBVMCPlugin : public VMCInterface {
Q_OBJECT Q_OBJECT
Q_INTERFACES(ATBAPPplugin)
Q_INTERFACES(UnifiedDCVMCInterface) Q_INTERFACES(VMCInterface)
#if QT_VERSION >= 0x050000 #if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA( IID "ATBVMCPlugin" ) Q_PLUGIN_METADATA( IID "ATBVMCPlugin" )
#endif #endif
public: public:
explicit ATBVMCPlugin(QObject *parent = nullptr); explicit ATBVMCPlugin(QObject *parent = nullptr);
~ATBVMCPlugin(); virtual ~ATBVMCPlugin();
virtual const QString & getPluginInfo() override;
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// interface: // interface:
@ -36,7 +40,7 @@ public:
QString getLastError() override; QString getLastError() override;
QString getLastErrorDescription() override; QString getLastErrorDescription() override;
virtual const QString & getPluginInfo() override; #if 0
// helpers e.g. for debug / log // helpers e.g. for debug / log
virtual QString getString(RESULT_STATE resultState) override; virtual QString getString(RESULT_STATE resultState) override;
@ -52,6 +56,8 @@ public slots:
virtual void reboot() override; virtual void reboot() override;
virtual void reset() override; virtual void reset() override;
#endif
private: private:
QString m_errorCode; QString m_errorCode;
QString m_errorDescription; QString m_errorDescription;