subsurface/desktop-widgets/updatemanager.h
Dirk Hohndel d70f85ce35 Cloud storage: modify protocol for checking cloud connectivity
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>
2015-11-18 17:57:13 -08:00

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