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:
parent
999a2dc311
commit
0f07f0aacd
1 changed files with 3 additions and 3 deletions
|
@ -15,14 +15,14 @@ class SquareLauncher : public QObject
|
||||||
public:
|
public:
|
||||||
explicit SquareLauncher(LauncherCore &window, QObject *parent = nullptr);
|
explicit SquareLauncher(LauncherCore &window, QObject *parent = nullptr);
|
||||||
|
|
||||||
|
QCoro::Task<> login(const LoginInformation &info);
|
||||||
|
|
||||||
|
private:
|
||||||
using StoredInfo = std::pair<QString, QUrl>;
|
using StoredInfo = std::pair<QString, QUrl>;
|
||||||
QCoro::Task<std::optional<StoredInfo>> getStored(const LoginInformation &info);
|
QCoro::Task<std::optional<StoredInfo>> getStored(const LoginInformation &info);
|
||||||
|
|
||||||
QCoro::Task<> login(const LoginInformation &info);
|
|
||||||
|
|
||||||
QCoro::Task<> registerSession(const LoginInformation &info);
|
QCoro::Task<> registerSession(const LoginInformation &info);
|
||||||
|
|
||||||
private:
|
|
||||||
static QCoro::Task<QString> getBootHash(const LoginInformation &info);
|
static QCoro::Task<QString> getBootHash(const LoginInformation &info);
|
||||||
|
|
||||||
Patcher *m_patcher = nullptr;
|
Patcher *m_patcher = nullptr;
|
||||||
|
|
Loading…
Add table
Reference in a new issue