You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
560 B
31 lines
560 B
#ifndef ORCHESTRATOR_H
|
|
#define ORCHESTRATOR_H
|
|
|
|
#include "mainwindow.h"
|
|
|
|
#include <QObject>
|
|
#include <QStringList>
|
|
|
|
class QTimer;
|
|
class QSystemTrayIcon;
|
|
|
|
class Orchestrator : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit Orchestrator(QObject *parent = nullptr);
|
|
|
|
private slots:
|
|
void checkForUpdates();
|
|
void displayUpdater(QList<QStringList> updateInfo);
|
|
void handleUpdatesInstalled();
|
|
|
|
private:
|
|
QTimer *checkTimer;
|
|
QSystemTrayIcon *trayIcon;
|
|
QList<QStringList> updateInfo;
|
|
MainWindow updaterWindow;
|
|
};
|
|
|
|
#endif // ORCHESTRATOR_H
|