Add ismas-client object for update
This commit is contained in:
		@@ -19,6 +19,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include "git/git_client.h"
 | 
					#include "git/git_client.h"
 | 
				
			||||||
#include "ismas/ismas_client.h"
 | 
					#include "ismas/ismas_client.h"
 | 
				
			||||||
 | 
					#include "ismas/ApismClientForUpdate.h"
 | 
				
			||||||
#include "utils.h"
 | 
					#include "utils.h"
 | 
				
			||||||
#include "work_process_list.h"
 | 
					#include "work_process_list.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -199,6 +200,7 @@ class Worker : public QThread{
 | 
				
			|||||||
    QString m_apismVersion;
 | 
					    QString m_apismVersion;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    WorkList m_workList;
 | 
					    WorkList m_workList;
 | 
				
			||||||
 | 
					    ApismClientForUpdate m_clForUpdate;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    bool executeOpkgCommand(QString opkgCommand);
 | 
					    bool executeOpkgCommand(QString opkgCommand);
 | 
				
			||||||
    bool cleanUpOpkgCache();
 | 
					    bool cleanUpOpkgCache();
 | 
				
			||||||
@@ -402,6 +404,9 @@ public:
 | 
				
			|||||||
        return m_ismasClient;
 | 
					        return m_ismasClient;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    ApismClientForUpdate &clientForUpdate() { return m_clForUpdate; }
 | 
				
			||||||
 | 
					    ApismClientForUpdate const &clientForUpdate() const { return m_clForUpdate; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    Worker *GUI(QStringList const &lst = QStringList()) {
 | 
					    Worker *GUI(QStringList const &lst = QStringList()) {
 | 
				
			||||||
        m_guiMsg = lst;
 | 
					        m_guiMsg = lst;
 | 
				
			||||||
        return this;
 | 
					        return this;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user