aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/auth/steps/MinecraftProfileStepMojang.h
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-05-08 21:43:06 +0200
committerGitHub <noreply@github.com>2022-05-08 21:43:06 +0200
commit1e34de98aba8bc3fd74443f556506c4779c2f8fd (patch)
tree2d113be4a1b888470e11a5e72576522d85e0b865 /launcher/minecraft/auth/steps/MinecraftProfileStepMojang.h
parent7b46f50cf1c5709406298424a404a66c948c7a0c (diff)
parentcab40026f2a1253539d0d8e363f1aea32b054bd1 (diff)
downloadPrismLauncher-1e34de98aba8bc3fd74443f556506c4779c2f8fd.tar.gz
PrismLauncher-1e34de98aba8bc3fd74443f556506c4779c2f8fd.tar.bz2
PrismLauncher-1e34de98aba8bc3fd74443f556506c4779c2f8fd.zip
Merge pull request #534 from DioEgizio/stable
Diffstat (limited to 'launcher/minecraft/auth/steps/MinecraftProfileStepMojang.h')
-rw-r--r--launcher/minecraft/auth/steps/MinecraftProfileStepMojang.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/launcher/minecraft/auth/steps/MinecraftProfileStepMojang.h b/launcher/minecraft/auth/steps/MinecraftProfileStepMojang.h
new file mode 100644
index 00000000..e06b30ab
--- /dev/null
+++ b/launcher/minecraft/auth/steps/MinecraftProfileStepMojang.h
@@ -0,0 +1,22 @@
+#pragma once
+#include <QObject>
+
+#include "QObjectPtr.h"
+#include "minecraft/auth/AuthStep.h"
+
+
+class MinecraftProfileStepMojang : public AuthStep {
+ Q_OBJECT
+
+public:
+ explicit MinecraftProfileStepMojang(AccountData *data);
+ virtual ~MinecraftProfileStepMojang() noexcept;
+
+ void perform() override;
+ void rehydrate() override;
+
+ QString describe() override;
+
+private slots:
+ void onRequestDone(QNetworkReply::NetworkError, QByteArray, QList<QNetworkReply::RawHeaderPair>);
+};