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

30 lines
560 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;
LoginAuth auth;
LauncherCore& window;
};