2021-07-20 20:27:32 -07:00
|
|
|
#ifndef OTAMANAGER_H
|
|
|
|
#define OTAMANAGER_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class otaManager;
|
|
|
|
}
|
|
|
|
|
|
|
|
class otaManager : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2022-04-04 21:47:15 -07:00
|
|
|
QString className = this->metaObject()->className();
|
2021-07-20 20:27:32 -07:00
|
|
|
explicit otaManager(QWidget *parent = nullptr);
|
|
|
|
~otaManager();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::otaManager *ui;
|
|
|
|
|
|
|
|
signals:
|
2021-08-19 05:23:18 -07:00
|
|
|
void canOtaUpdate(bool yesno);
|
2021-08-25 10:16:41 -07:00
|
|
|
void downloadedOtaUpdate(bool wasDownloadSuccessful);
|
2021-07-20 20:27:32 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // OTAMANAGER_H
|