1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-21 20:27:45 +00:00
astra/launcher/include/squareboot.h
Joshua Goins 90a5ffc6c8 Parallelize and speed up the login process even more
Now the asset updating process is parallelized (especially asset file
downloading). There's less wasteful usage of the patcher and game
version reading when no patches need to be installed.
2023-09-17 18:43:58 -04:00

30 lines
No EOL
615 B
C++

// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include <qcorotask.h>
#include "patcher.h"
class SquareLauncher;
class LauncherCore;
class LoginInformation;
class SquareBoot : public QObject
{
Q_OBJECT
public:
SquareBoot(LauncherCore &window, SquareLauncher &launcher, QObject *parent = nullptr);
QCoro::Task<> checkGateStatus(const LoginInformation &info);
private:
QCoro::Task<> bootCheck(const LoginInformation &info);
Patcher *patcher = nullptr;
LauncherCore &window;
SquareLauncher &launcher;
};