2025-02-05 16:25:01 +01:00
|
|
|
#ifndef SHOW_SOFTWARE_STATUS_COMMAND_H_INCLUDED
|
|
|
|
#define SHOW_SOFTWARE_STATUS_COMMAND_H_INCLUDED
|
|
|
|
|
|
|
|
#include "update_command.h"
|
|
|
|
|
|
|
|
class ShowSoftwareStatusCommand : public UpdateCommand {
|
|
|
|
public:
|
|
|
|
explicit ShowSoftwareStatusCommand(QString const &command,
|
|
|
|
Worker *worker,
|
2025-02-14 13:20:42 +01:00
|
|
|
int nextCommandIndex,
|
2025-02-05 16:25:01 +01:00
|
|
|
int start_timeout = 100000,
|
|
|
|
int finish_timeout = 100000);
|
2025-02-14 13:20:42 +01:00
|
|
|
public slots:
|
2025-02-06 16:25:50 +01:00
|
|
|
virtual void readyReadStandardOutput() override;
|
2025-02-14 13:20:42 +01:00
|
|
|
virtual void finished(int exitCode, QProcess::ExitStatus exitStatus) override;
|
2025-02-05 16:25:01 +01:00
|
|
|
};
|
|
|
|
#endif // SHOW_SOFTWARE_STATUS_COMMAND_H_INCLUDED
|