diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-06-08 02:43:16 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-06-09 00:03:42 +0200 |
commit | 82e05661d207621f917d79ebd513abc57a36c084 (patch) | |
tree | b13eb12af54ff1a6214d9b0c7b34ce6a9e5aa975 /logic/updater/DownloadTask.h | |
parent | 166813cb918ebd029325e12377989bfdc2021074 (diff) | |
download | PrismLauncher-82e05661d207621f917d79ebd513abc57a36c084.tar.gz PrismLauncher-82e05661d207621f917d79ebd513abc57a36c084.tar.bz2 PrismLauncher-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.h | 5 |
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. |