2021-11-01 09:54:58 -04:00
|
|
|
#pragma once
|
|
|
|
|
2022-07-20 18:00:42 -04:00
|
|
|
#include "patcher.h"
|
2021-11-01 09:54:58 -04:00
|
|
|
|
|
|
|
class SquareLauncher;
|
2022-06-08 13:55:15 -04:00
|
|
|
class LauncherCore;
|
|
|
|
struct LoginInformation;
|
2021-11-01 09:54:58 -04:00
|
|
|
|
|
|
|
class SquareBoot : public QObject {
|
2022-06-08 13:55:15 -04:00
|
|
|
Q_OBJECT
|
2021-11-01 09:54:58 -04:00
|
|
|
public:
|
2021-11-23 15:34:23 -05:00
|
|
|
SquareBoot(LauncherCore& window, SquareLauncher& launcher);
|
2021-11-01 09:54:58 -04:00
|
|
|
|
2022-06-08 13:55:15 -04:00
|
|
|
Q_INVOKABLE void checkGateStatus(LoginInformation* info);
|
2022-05-09 15:53:17 -04:00
|
|
|
|
|
|
|
void bootCheck(const LoginInformation& info);
|
2021-11-01 09:54:58 -04:00
|
|
|
|
|
|
|
private:
|
2022-07-20 18:00:42 -04:00
|
|
|
Patcher* patcher = nullptr;
|
2022-03-17 11:41:02 -04:00
|
|
|
|
2021-11-23 15:34:23 -05:00
|
|
|
LauncherCore& window;
|
2021-11-01 09:54:58 -04:00
|
|
|
SquareLauncher& launcher;
|
|
|
|
};
|