bool customerEnvironment();

bool filesToUpdate();
bool updateFiles();
bool syncCustomerRepositoryAndFS();
bool saveLogFile(): remove progress parameter.
This commit is contained in:
Gerhard Hoffmann 2023-10-30 15:14:19 +01:00
parent 48896f97ec
commit 16a9556863

View File

@ -340,7 +340,7 @@ public:
IsmasClient const &getIsmasClient() const { return m_ismasClient; } IsmasClient const &getIsmasClient() const { return m_ismasClient; }
bool updateProcessRunning() const { return m_updateProcessRunning; } bool updateProcessRunning() const { return m_updateProcessRunning; }
int returnCode() const { return m_returnCode; } UPDATE_STEP currentStep() const { return m_currentStep; }
int machineNr() const { return m_machineNr; } int machineNr() const { return m_machineNr; }
int customerNr() const { return m_customerNr; } int customerNr() const { return m_customerNr; }
@ -369,18 +369,16 @@ public slots:
private slots: private slots:
bool updateTriggerSet(); bool updateTriggerSet();
bool customerEnvironment(int progress); bool customerEnvironment();
bool filesToUpdate(int progress); bool filesToUpdate();
bool updateFiles(int percent); bool updateFiles();
bool syncCustomerRepositoryAndFS(int progress); bool syncCustomerRepositoryAndFS();
bool sendIsmasLastVersionNotification(int progress); // bool sendIsmasLastVersionNotification(int progress);
bool saveLogFile(int progress); bool saveLogFile();
private: private:
PSAInstalled getPSAInstalled(); PSAInstalled getPSAInstalled();
void privateUpdate(); void privateUpdate();
std::optional<QString> getApismVersion();
void printProgress(UPDATE_STEP step);
static const QMap<UPDATE_STEP, const char*> smap; static const QMap<UPDATE_STEP, const char*> smap;