aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/auth/AuthStep.h
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-08-15 12:16:00 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-08-15 12:16:00 +0300
commitc94ee67077076fdfb3ad04e93a0de2ae32b6a4e5 (patch)
tree437dec3be224cae5e229eeaa4ac9ebeedffd03e3 /launcher/minecraft/auth/AuthStep.h
parent019e5ca3e819f5daf9933bc0fb091784b0ca561f (diff)
parent8f5bb982cd27dd9158b63d826769c168455a139b (diff)
downloadPrismLauncher-c94ee67077076fdfb3ad04e93a0de2ae32b6a4e5.tar.gz
PrismLauncher-c94ee67077076fdfb3ad04e93a0de2ae32b6a4e5.tar.bz2
PrismLauncher-c94ee67077076fdfb3ad04e93a0de2ae32b6a4e5.zip
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into curseforge-url-handle3
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/minecraft/auth/AuthStep.h')
-rw-r--r--launcher/minecraft/auth/AuthStep.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/launcher/minecraft/auth/AuthStep.h b/launcher/minecraft/auth/AuthStep.h
index 2a8dc2ca..becd9b0c 100644
--- a/launcher/minecraft/auth/AuthStep.h
+++ b/launcher/minecraft/auth/AuthStep.h
@@ -1,33 +1,33 @@
#pragma once
-#include <QObject>
#include <QList>
#include <QNetworkReply>
+#include <QObject>
+#include "AccountTask.h"
#include "QObjectPtr.h"
#include "minecraft/auth/AccountData.h"
-#include "AccountTask.h"
class AuthStep : public QObject {
Q_OBJECT
-public:
+ public:
using Ptr = shared_qobject_ptr<AuthStep>;
-public:
- explicit AuthStep(AccountData *data);
+ public:
+ explicit AuthStep(AccountData* data);
virtual ~AuthStep() noexcept;
virtual QString describe() = 0;
-public slots:
+ public slots:
virtual void perform() = 0;
virtual void rehydrate() = 0;
-signals:
+ signals:
void finished(AccountTaskState resultingState, QString message);
- void showVerificationUriAndCode(const QUrl &uri, const QString &code, int expiresIn);
+ void showVerificationUriAndCode(const QUrl& uri, const QString& code, int expiresIn);
void hideVerificationUriAndCode();
-protected:
- AccountData *m_data;
+ protected:
+ AccountData* m_data;
};