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:
		
							
								
								
									
										4
									
								
								worker.h
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								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; }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user