From 01d8312aa8fa2568a8cfe9743ad19114bfc3cb1d Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Wed, 30 Aug 2023 11:46:55 +0200 Subject: [PATCH] Removed rauc/opkg-members. Added m_apismVersion member. --- worker.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/worker.h b/worker.h index ea67786..54d0ddf 100644 --- a/worker.h +++ b/worker.h @@ -9,6 +9,8 @@ #include #include +#include + #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 getApismVersion(); }; #endif // WORKER_H_INCLUDED