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