mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-23 21:07:45 +00:00
25 lines
501 B
C
25 lines
501 B
C
![]() |
#pragma once
|
||
|
|
||
|
#include "xivlauncher.h"
|
||
|
|
||
|
class SquareLauncher : public QObject {
|
||
|
public:
|
||
|
SquareLauncher(LauncherWindow& window);
|
||
|
|
||
|
void getStored(const LoginInformation& info);
|
||
|
|
||
|
void login(const LoginInformation& info, const QUrl referer);
|
||
|
|
||
|
void registerSession(const LoginInformation& info);
|
||
|
|
||
|
private:
|
||
|
QString getBootHash();
|
||
|
void readExpansionVersions(int max);
|
||
|
|
||
|
QString stored, SID;
|
||
|
LoginAuth auth;
|
||
|
|
||
|
LauncherWindow& window;
|
||
|
|
||
|
QList<QString> expansionVersions;
|
||
|
};
|