diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-02-21 22:30:44 +0100 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-02-21 22:30:44 +0100 |
commit | a70d1f1a9184a9f0506c439be1009e5ba3c77b5b (patch) | |
tree | 52c1b15e0f2c976df1cc40e5656108d09a7f6606 /launcher/minecraft/legacy/LegacyUpgradeTask.h | |
parent | 3059f130114a542f9a28ac7b665cc844ee90b03d (diff) | |
download | PrismLauncher-a70d1f1a9184a9f0506c439be1009e5ba3c77b5b.tar.gz PrismLauncher-a70d1f1a9184a9f0506c439be1009e5ba3c77b5b.tar.bz2 PrismLauncher-a70d1f1a9184a9f0506c439be1009e5ba3c77b5b.zip |
refactor: drop LegacyInstance
Diffstat (limited to 'launcher/minecraft/legacy/LegacyUpgradeTask.h')
-rw-r--r-- | launcher/minecraft/legacy/LegacyUpgradeTask.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/launcher/minecraft/legacy/LegacyUpgradeTask.h b/launcher/minecraft/legacy/LegacyUpgradeTask.h deleted file mode 100644 index 542e17b8..00000000 --- a/launcher/minecraft/legacy/LegacyUpgradeTask.h +++ /dev/null @@ -1,29 +0,0 @@ -#pragma once - -#include "InstanceTask.h" -#include "net/NetJob.h" -#include <QUrl> -#include <QFuture> -#include <QFutureWatcher> -#include "settings/SettingsObject.h" -#include "BaseVersion.h" -#include "BaseInstance.h" - - -class LegacyUpgradeTask : public InstanceTask -{ - Q_OBJECT -public: - explicit LegacyUpgradeTask(InstancePtr origInstance); - -protected: - //! Entry point for tasks. - virtual void executeTask() override; - void copyFinished(); - void copyAborted(); - -private: /* data */ - InstancePtr m_origInstance; - QFuture<bool> m_copyFuture; - QFutureWatcher<bool> m_copyFutureWatcher; -}; |