From 725897652889277e2d985200fc9d3d0252dfc977 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Thu, 20 Feb 2025 15:56:06 +0100 Subject: [PATCH] Add ismas-client object for update --- UpdatePTUDevCtrl/worker.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/UpdatePTUDevCtrl/worker.h b/UpdatePTUDevCtrl/worker.h index 71d4e37..e296726 100644 --- a/UpdatePTUDevCtrl/worker.h +++ b/UpdatePTUDevCtrl/worker.h @@ -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;