summaryrefslogtreecommitdiffstats
path: root/logic/updater/DownloadUpdateTask.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 /logic/updater/DownloadUpdateTask.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 'logic/updater/DownloadUpdateTask.h')
-rw-r--r--logic/updater/DownloadUpdateTask.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/logic/updater/DownloadUpdateTask.h b/logic/updater/DownloadUpdateTask.h
index dc30ca15..f5b23d12 100644
--- a/logic/updater/DownloadUpdateTask.h
+++ b/logic/updater/DownloadUpdateTask.h
@@ -28,6 +28,11 @@ class DownloadUpdateTask : public Task
public:
explicit DownloadUpdateTask(QString repoUrl, int versionId, QObject* parent=0);
+
+ /*!
+ * Gets the directory that contains the update files.
+ */
+ QString updateFilesDir();
protected:
// TODO: We should probably put these data structures into a separate header...