Added checking for update and triggering the updater.
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user