1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-21 20:27:45 +00:00
astra/include/squareboot.h
Joshua Goins aed67025df Check gate status when actually trying to login instead of at startup
This fixes a couple of issues, such as Sapphire login breaking. This
also makes it possible to wait out the login gate, instead of having
to restart the launcher. The gate status check is also moved to the
squareboot class for now.
2022-05-09 15:53:17 -04:00

21 lines
No EOL
405 B
C++

#pragma once
#include <QProgressDialog>
#include "launchercore.h"
class SquareLauncher;
class SquareBoot : public QObject {
public:
SquareBoot(LauncherCore& window, SquareLauncher& launcher);
void checkGateStatus(const LoginInformation& info);
void bootCheck(const LoginInformation& info);
private:
QProgressDialog* dialog;
LauncherCore& window;
SquareLauncher& launcher;
};