summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/updatemanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/updatemanager.h')
-rw-r--r--desktop-widgets/updatemanager.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/desktop-widgets/updatemanager.h b/desktop-widgets/updatemanager.h
new file mode 100644
index 000000000..f91c82dc8
--- /dev/null
+++ b/desktop-widgets/updatemanager.h
@@ -0,0 +1,24 @@
+#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);
+ static QString getUUID();
+
+public
+slots:
+ void requestReceived();
+
+private:
+ bool isAutomaticCheck;
+};
+
+#endif // UPDATEMANAGER_H