summaryrefslogtreecommitdiffstats
path: root/gui/MainWindow.h
diff options
context:
space:
mode:
authorAndrew <forkk@forkk.net>2013-12-06 12:59:58 -0600
committerAndrew <forkk@forkk.net>2013-12-06 12:59:58 -0600
commit6ac94ddcb6f64ffae3948bed778bccc33a92f0fd (patch)
tree31cb30a051772bb49339514b79acf07ae9661c95 /gui/MainWindow.h
parente90f1a27569ac6b9e9782646c9de92fc9534b1d2 (diff)
downloadMultiMC-6ac94ddcb6f64ffae3948bed778bccc33a92f0fd.tar
MultiMC-6ac94ddcb6f64ffae3948bed778bccc33a92f0fd.tar.gz
MultiMC-6ac94ddcb6f64ffae3948bed778bccc33a92f0fd.tar.lz
MultiMC-6ac94ddcb6f64ffae3948bed778bccc33a92f0fd.tar.xz
MultiMC-6ac94ddcb6f64ffae3948bed778bccc33a92f0fd.zip
Finish implementing update installation.
Also add the option to update on exit.
Diffstat (limited to 'gui/MainWindow.h')
-rw-r--r--gui/MainWindow.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/MainWindow.h b/gui/MainWindow.h
index 1f498eca..b99c54ee 100644
--- a/gui/MainWindow.h
+++ b/gui/MainWindow.h
@@ -168,6 +168,11 @@ slots:
void changeActiveAccount();
void repopulateAccountsMenu();
+
+ /*!
+ * Runs the DownloadUpdateTask and installs updates.
+ */
+ void downloadUpdates(QString repo, int versionId, bool installOnExit=false);
protected:
bool eventFilter(QObject *obj, QEvent *ev);