2021-12-04 00:18:05 +00:00
|
|
|
#pragma once
|
|
|
|
#include <QObject>
|
|
|
|
|
|
|
|
#include "QObjectPtr.h"
|
|
|
|
#include "minecraft/auth/AuthStep.h"
|
|
|
|
|
|
|
|
class LauncherLoginStep : public AuthStep {
|
|
|
|
Q_OBJECT
|
|
|
|
|
2023-08-02 17:35:35 +01:00
|
|
|
public:
|
|
|
|
explicit LauncherLoginStep(AccountData* data);
|
2021-12-04 00:18:05 +00:00
|
|
|
virtual ~LauncherLoginStep() noexcept;
|
|
|
|
|
|
|
|
void perform() override;
|
|
|
|
void rehydrate() override;
|
|
|
|
|
|
|
|
QString describe() override;
|
|
|
|
|
2023-08-02 17:35:35 +01:00
|
|
|
private slots:
|
2021-12-04 00:18:05 +00:00
|
|
|
void onRequestDone(QNetworkReply::NetworkError, QByteArray, QList<QNetworkReply::RawHeaderPair>);
|
|
|
|
};
|