1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-22 12:47:44 +00:00
astra/include/squarelauncher.h
Joshua Goins 8408a2b154 Improve login process
More progress on support Steam service accounts, make it clear whether
or not you have a expired subscription/terms not accepted. Also add
"Free Trial" as a license type.
2022-03-16 14:33:04 -04:00

30 lines
570 B
C++

#pragma once
#include "launchercore.h"
class SquareLauncher : public QObject {
Q_OBJECT
public:
SquareLauncher(LauncherCore& window);
void gateOpen();
void getStored(const LoginInformation& info);
void login(const LoginInformation& info, QUrl referer);
void registerSession(const LoginInformation& info);
bool isGateOpen = false;
signals:
void gateStatusRecieved(bool gateOpen);
private:
QString getBootHash(const LoginInformation& info);
QString stored, SID, username;
LoginAuth auth;
LauncherCore& window;
};