summaryrefslogtreecommitdiffstats
path: root/gui/dialogs/UpdateDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/dialogs/UpdateDialog.h')
-rw-r--r--gui/dialogs/UpdateDialog.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/gui/dialogs/UpdateDialog.h b/gui/dialogs/UpdateDialog.h
index c13eb6bf..970ef42a 100644
--- a/gui/dialogs/UpdateDialog.h
+++ b/gui/dialogs/UpdateDialog.h
@@ -16,6 +16,8 @@
#pragma once
#include <QDialog>
+#include "logic/net/ByteArrayDownload.h"
+#include "logic/net/NetJob.h"
namespace Ui
{
@@ -43,4 +45,17 @@ public slots:
void on_btnUpdateNow_clicked();
void on_btnUpdateOnExit_clicked();
void on_btnUpdateLater_clicked();
+
+ /// Starts loading the changelog
+ void loadChangelog();
+
+ /// Slot for when the chengelog loads successfully.
+ void changelogLoaded();
+
+ /// Slot for when the chengelog fails to load...
+ void changelogFailed();
+
+private:
+ ByteArrayDownloadPtr changelogDownload;
+ NetJobPtr dljob;
};