Added checking for update and triggering the updater.

This commit is contained in:
2025-10-31 14:47:27 +01:00
parent bddb6df3ee
commit d943f2d89a
4 changed files with 92 additions and 1 deletions

View File

@ -1,15 +1,28 @@
#ifndef GENERICCORE_H
#define GENERICCORE_H
#include <QObject>
class QString;
class GenericCore {
class GenericCore : public QObject {
Q_OBJECT
public:
GenericCore();
~GenericCore();
QString toString() const;
void sayHello() const;
bool isApplicationUpdateAvailable();
void triggerApplicationUpdate();
signals:
void displayStatusMessage(QString message);
private:
QString getMaintenanceToolFilePath() const;
};
#endif // GENERICCORE_H