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