subsurface/desktop-widgets/updatemanager.h

25 lines
410 B
C
Raw Permalink Normal View History

// SPDX-License-Identifier: GPL-2.0
#ifndef UPDATEMANAGER_H
#define UPDATEMANAGER_H
#include <QObject>
class QNetworkAccessManager;
class QNetworkReply;
class UpdateManager : public QObject {
Q_OBJECT
public:
explicit UpdateManager(QObject *parent = 0);
void checkForUpdates(bool automatic = false);
public
slots:
void requestReceived();
private:
bool isAutomaticCheck;
};
#endif // UPDATEMANAGER_H