mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 14:40:28 +00:00
d70f85ce35
In order to allow the backend to match account in multi user mode, it needs to know if the requests are coming from the same instance of Subsurface. Since I had to change the backend to add the ability to retrieve a location service userid I added this capability at the same time. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
23 lines
374 B
C++
23 lines
374 B
C++
#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
|