2021-11-01 09:54:58 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
|
2021-11-23 15:34:23 -05:00
|
|
|
#include "launchercore.h"
|
2021-11-01 09:54:58 -04:00
|
|
|
|
|
|
|
class SapphireLauncher : QObject {
|
|
|
|
public:
|
2022-09-05 17:26:26 -04:00
|
|
|
explicit SapphireLauncher(LauncherCore& window);
|
2021-11-01 09:54:58 -04:00
|
|
|
|
2022-09-05 17:26:26 -04:00
|
|
|
void login(const QString& lobbyUrl, const LoginInformation& info);
|
|
|
|
void registerAccount(const QString& lobbyUrl, const LoginInformation& info);
|
2021-11-01 09:54:58 -04:00
|
|
|
|
|
|
|
private:
|
2021-11-23 15:34:23 -05:00
|
|
|
LauncherCore& window;
|
2021-11-01 09:54:58 -04:00
|
|
|
};
|