1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-23 21:07:45 +00:00
astra/src/squarelauncher.h

25 lines
501 B
C
Raw Normal View History

2021-11-01 09:54:58 -04:00
#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;
};