summaryrefslogtreecommitdiffstats
path: root/gui/MainWindow.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-02-08 17:56:14 +0100
committerPetr Mrázek <peterix@gmail.com>2015-04-12 20:57:17 +0200
commit4730f54df7edf4775dfddf45f77c60edd86c32d9 (patch)
tree22fe05326976cbdadf150c1cfe0710f375e34edf /gui/MainWindow.h
parent7a71ecd8af0454e405b25080a4b266fc99306269 (diff)
downloadMultiMC-4730f54df7edf4775dfddf45f77c60edd86c32d9.tar
MultiMC-4730f54df7edf4775dfddf45f77c60edd86c32d9.tar.gz
MultiMC-4730f54df7edf4775dfddf45f77c60edd86c32d9.tar.lz
MultiMC-4730f54df7edf4775dfddf45f77c60edd86c32d9.tar.xz
MultiMC-4730f54df7edf4775dfddf45f77c60edd86c32d9.zip
SCRATCH separate the generic updater logic from the application
Diffstat (limited to 'gui/MainWindow.h')
-rw-r--r--gui/MainWindow.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gui/MainWindow.h b/gui/MainWindow.h
index cccd9f9c..13edce81 100644
--- a/gui/MainWindow.h
+++ b/gui/MainWindow.h
@@ -22,6 +22,7 @@
#include "logic/BaseInstance.h"
#include "logic/auth/MojangAccount.h"
#include "logic/net/NetJob.h"
+#include "logic/updater/GoUpdate.h"
class NewsChecker;
class NotificationChecker;
@@ -157,7 +158,7 @@ slots:
void startTask(Task *task);
- void updateAvailable(QString repo, QString versionName, int versionId);
+ void updateAvailable(GoUpdate::Status status);
void updateNotAvailable();
@@ -172,9 +173,9 @@ slots:
void updateNewsLabel();
/*!
- * Runs the DownloadUpdateTask and installs updates.
+ * Runs the DownloadTask and installs updates.
*/
- void downloadUpdates(QString repo, int versionId, bool installOnExit = false);
+ void downloadUpdates(GoUpdate::Status status, bool installOnExit = false);
protected:
bool eventFilter(QObject *obj, QEvent *ev);