diff options
| author | LennyMcLennington <28272981+LennyMcLennington@users.noreply.github.com> | 2022-01-17 03:56:27 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-17 03:56:27 +0000 |
| commit | 2c2c22ccf8567de0410decdd6ef122170c70103f (patch) | |
| tree | d898fa78f0e344121327cdd8325171ef58f71605 /launcher/minecraft/auth/steps | |
| parent | 0bc8baf1172d6967cdb2993826e3469ecd9aab66 (diff) | |
| parent | 55597b458ced4d7ad8082ab226617ba48e177ee6 (diff) | |
| download | PrismLauncher-2c2c22ccf8567de0410decdd6ef122170c70103f.tar.gz PrismLauncher-2c2c22ccf8567de0410decdd6ef122170c70103f.tar.bz2 PrismLauncher-2c2c22ccf8567de0410decdd6ef122170c70103f.zip | |
Merge pull request #82 from PolyMC/revert-offline-mode
Revert offline mode support (#81 and #50)
Diffstat (limited to 'launcher/minecraft/auth/steps')
| -rw-r--r-- | launcher/minecraft/auth/steps/OfflineStep.cpp | 18 | ||||
| -rw-r--r-- | launcher/minecraft/auth/steps/OfflineStep.h | 20 |
2 files changed, 0 insertions, 38 deletions
diff --git a/launcher/minecraft/auth/steps/OfflineStep.cpp b/launcher/minecraft/auth/steps/OfflineStep.cpp deleted file mode 100644 index dc092bfd..00000000 --- a/launcher/minecraft/auth/steps/OfflineStep.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "OfflineStep.h" - -#include "Application.h" - -OfflineStep::OfflineStep(AccountData* data) : AuthStep(data) {} -OfflineStep::~OfflineStep() noexcept = default; - -QString OfflineStep::describe() { - return tr("Creating offline account."); -} - -void OfflineStep::rehydrate() { - // NOOP -} - -void OfflineStep::perform() { - emit finished(AccountTaskState::STATE_WORKING, tr("Created offline account.")); -} diff --git a/launcher/minecraft/auth/steps/OfflineStep.h b/launcher/minecraft/auth/steps/OfflineStep.h deleted file mode 100644 index 62addb1f..00000000 --- a/launcher/minecraft/auth/steps/OfflineStep.h +++ /dev/null @@ -1,20 +0,0 @@ - -#pragma once -#include <QObject> - -#include "QObjectPtr.h" -#include "minecraft/auth/AuthStep.h" - -#include <katabasis/DeviceFlow.h> - -class OfflineStep : public AuthStep { - Q_OBJECT -public: - explicit OfflineStep(AccountData *data); - virtual ~OfflineStep() noexcept; - - void perform() override; - void rehydrate() override; - - QString describe() override; -}; |
