Removed rauc/opkg-members. Added m_apismVersion member.

This commit is contained in:
Gerhard Hoffmann 2023-08-30 11:46:55 +02:00
parent 507586f9dc
commit 01d8312aa8

View File

@ -9,6 +9,8 @@
#include <QJsonObject>
#include <QHash>
#include <optional>
#include "worker_thread.h"
#include "update.h"
#include "git/git_client.h"
@ -88,8 +90,6 @@ class Worker : public QObject {
QString const m_osVersion;
QString const m_atbqtVersion;
QString const m_cpuSerial;
QString const m_raucVersion;
QString const m_opkgVersion;
QString const m_pluginVersionATBDeciceController;
QString const m_pluginVersionIngenicoISelf;
QString const m_pluginVersionMobilisisCalc;
@ -111,6 +111,7 @@ class Worker : public QObject {
MainWindow *m_mainWindow;
int m_progressValue;
bool m_withoutIsmasDirectPort;
QString m_apismVersion;
bool executeOpkgCommand(QString opkgCommand);
QString getOsVersion() const;
@ -155,6 +156,7 @@ public:
int machineNr() const { return m_machineNr; }
int customerNr() const { return m_customerNr; }
int zoneNr() const { return m_zoneNr; }
QString apismVersion() const { return m_apismVersion; }
//friend QDebug operator<<(QDebug debug, Worker const &w) {
// Q_UNUSED(w);
@ -179,7 +181,6 @@ public slots:
void update();
private slots:
bool backendConnected();
bool updateTriggerSet();
bool customerEnvironment();
bool filesToUpdate();
@ -191,6 +192,7 @@ private slots:
private:
PSAInstalled getPSAInstalled();
void privateUpdate();
std::optional<QString> getApismVersion();
};
#endif // WORKER_H_INCLUDED