diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-02-08 17:56:14 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-04-12 20:57:17 +0200 |
commit | 4730f54df7edf4775dfddf45f77c60edd86c32d9 (patch) | |
tree | 22fe05326976cbdadf150c1cfe0710f375e34edf /gui/MainWindow.h | |
parent | 7a71ecd8af0454e405b25080a4b266fc99306269 (diff) | |
download | PrismLauncher-4730f54df7edf4775dfddf45f77c60edd86c32d9.tar.gz PrismLauncher-4730f54df7edf4775dfddf45f77c60edd86c32d9.tar.bz2 PrismLauncher-4730f54df7edf4775dfddf45f77c60edd86c32d9.zip |
SCRATCH separate the generic updater logic from the application
Diffstat (limited to 'gui/MainWindow.h')
-rw-r--r-- | gui/MainWindow.h | 7 |
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); |