summaryrefslogtreecommitdiffstats
path: root/logic/updater/DownloadTask.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-06-08 02:43:16 +0200
committerPetr Mrázek <peterix@gmail.com>2015-06-09 00:03:42 +0200
commit82e05661d207621f917d79ebd513abc57a36c084 (patch)
treeb13eb12af54ff1a6214d9b0c7b34ce6a9e5aa975 /logic/updater/DownloadTask.h
parent166813cb918ebd029325e12377989bfdc2021074 (diff)
downloadMultiMC-82e05661d207621f917d79ebd513abc57a36c084.tar
MultiMC-82e05661d207621f917d79ebd513abc57a36c084.tar.gz
MultiMC-82e05661d207621f917d79ebd513abc57a36c084.tar.lz
MultiMC-82e05661d207621f917d79ebd513abc57a36c084.tar.xz
MultiMC-82e05661d207621f917d79ebd513abc57a36c084.zip
GH-1060 implement very basic updater (only linux and maybe osx right now)
Diffstat (limited to 'logic/updater/DownloadTask.h')
-rw-r--r--logic/updater/DownloadTask.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/logic/updater/DownloadTask.h b/logic/updater/DownloadTask.h
index 197aa3e6..3bc504fc 100644
--- a/logic/updater/DownloadTask.h
+++ b/logic/updater/DownloadTask.h
@@ -35,6 +35,9 @@ public:
/// Get the directory that will contain the update files.
QString updateFilesDir();
+ /// Get the list of operations that should be done
+ OperationList operations();
+
/// set updater download behavior
void setUseLocalUpdater(bool useLocal);
@@ -61,6 +64,8 @@ protected:
Status m_status;
+ OperationList m_operations;
+
/*!
* Temporary directory to store update files in.
* This will be set to not auto delete. Task will fail if this fails to be created.