Added for future use when updating device-controller-frimware:

hwinf *m_hw = nullptr;
    UPDATE_STEP m_lastFailedUpdateStep = UPDATE_STEP::NONE;
This commit is contained in:
Gerhard Hoffmann 2024-01-19 08:20:21 +01:00
parent 9a687e6628
commit 1ecb844b64

View File

@ -290,6 +290,8 @@ private:
static Worker *instance;
QStringList m_opkgCommands;
Update *m_update = nullptr;
hwinf *m_hw = nullptr;
UPDATE_STEP m_lastFailedUpdateStep = UPDATE_STEP::NONE;
protected:
virtual void run();
@ -347,6 +349,8 @@ public:
void displayProgressInMainWindow(int progress);
void startProgressLoop();
void stopProgressLoop();
void setHW(hwinf *hw) { m_hw = hw; }
hwinf *getHW() { return m_hw; }
IsmasClient &getIsmasClient() { return m_ismasClient; }
IsmasClient const &getIsmasClient() const { return m_ismasClient; }