1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-22 04:37:46 +00:00

Reduce public API of SquareLauncher

This commit is contained in:
Joshua Goins 2023-10-11 13:39:54 -04:00
parent 999a2dc311
commit 0f07f0aacd

View file

@ -15,14 +15,14 @@ class SquareLauncher : public QObject
public:
explicit SquareLauncher(LauncherCore &window, QObject *parent = nullptr);
QCoro::Task<> login(const LoginInformation &info);
private:
using StoredInfo = std::pair<QString, QUrl>;
QCoro::Task<std::optional<StoredInfo>> getStored(const LoginInformation &info);
QCoro::Task<> login(const LoginInformation &info);
QCoro::Task<> registerSession(const LoginInformation &info);
private:
static QCoro::Task<QString> getBootHash(const LoginInformation &info);
Patcher *m_patcher = nullptr;