diff --git a/worker.h b/worker.h index ba13ece..71ef5c5 100644 --- a/worker.h +++ b/worker.h @@ -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; }