Newer
Older
#pragma once
#include <QObject>
class ConfigHandler;
class UpdateHandler : public QObject
explicit UpdateHandler(ConfigHandler *configHandler, QObject *parent = nullptr);
void checkAllStarted();
void checkAllFinished();
void updateFinished(QString path, QString newPath);
bool checkAll() const;
bool update(const QString &path) const;
QString describeAppImage(const QString &path) const;
bool checkAppImage(const QString &path) const;
#endif
ConfigHandler *configHandler_;
};