aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/auth/flows/AuthFlow.h
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-08-14 18:16:53 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2023-08-14 18:16:53 +0200
commit91ba4cf75ee30c64779edb5b7644e5a830de5026 (patch)
treeaa8c2433bfc3a54577aceeb706c4c2cd0986c95d /launcher/minecraft/auth/flows/AuthFlow.h
parent779f70057b021e285afd60cc650a14cd5feacffd (diff)
downloadPrismLauncher-91ba4cf75ee30c64779edb5b7644e5a830de5026.tar.gz
PrismLauncher-91ba4cf75ee30c64779edb5b7644e5a830de5026.tar.bz2
PrismLauncher-91ba4cf75ee30c64779edb5b7644e5a830de5026.zip
chore: reformat
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'launcher/minecraft/auth/flows/AuthFlow.h')
-rw-r--r--launcher/minecraft/auth/flows/AuthFlow.h29
1 files changed, 13 insertions, 16 deletions
diff --git a/launcher/minecraft/auth/flows/AuthFlow.h b/launcher/minecraft/auth/flows/AuthFlow.h
index e067cc99..c2c412ab 100644
--- a/launcher/minecraft/auth/flows/AuthFlow.h
+++ b/launcher/minecraft/auth/flows/AuthFlow.h
@@ -1,45 +1,42 @@
#pragma once
-#include <QObject>
+#include <QImage>
#include <QList>
-#include <QVector>
-#include <QSet>
#include <QNetworkReply>
-#include <QImage>
+#include <QObject>
+#include <QSet>
+#include <QVector>
#include <katabasis/DeviceFlow.h>
-#include "minecraft/auth/Yggdrasil.h"
#include "minecraft/auth/AccountData.h"
#include "minecraft/auth/AccountTask.h"
#include "minecraft/auth/AuthStep.h"
+#include "minecraft/auth/Yggdrasil.h"
-class AuthFlow : public AccountTask
-{
+class AuthFlow : public AccountTask {
Q_OBJECT
-public:
- explicit AuthFlow(AccountData * data, QObject *parent = 0);
+ public:
+ explicit AuthFlow(AccountData* data, QObject* parent = 0);
- Katabasis::Validity validity() {
- return m_data->validity_;
- };
+ Katabasis::Validity validity() { return m_data->validity_; };
QString getStateMessage() const override;
void executeTask() override;
-signals:
+ signals:
void activityChanged(Katabasis::Activity activity);
-private slots:
+ private slots:
void stepFinished(AccountTaskState resultingState, QString message);
-protected:
+ protected:
void succeed();
void nextStep();
-protected:
+ protected:
QList<AuthStep::Ptr> m_steps;
AuthStep::Ptr m_currentStep;
};