From fc911add58c97b878b5b2eff867ce35216eb2a1e Mon Sep 17 00:00:00 2001 From: Petr Mrázek Date: Wed, 9 Jul 2014 00:49:37 +0200 Subject: Show changelog in the update dialog. --- gui/dialogs/UpdateDialog.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'gui/dialogs/UpdateDialog.h') 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 +#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; }; -- cgit