mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 14:10:19 +00:00
9021a44ccc
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
24 lines
410 B
C++
24 lines
410 B
C++
// 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
|