2023-08-05 22:14:05 -04:00
|
|
|
// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
2023-07-30 08:49:34 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
|
|
|
|
#include "launchercore.h"
|
|
|
|
|
|
|
|
class SapphireLauncher : QObject
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
explicit SapphireLauncher(LauncherCore &window, QObject *parent = nullptr);
|
|
|
|
|
|
|
|
void login(const QString &lobbyUrl, const LoginInformation &info);
|
|
|
|
void registerAccount(const QString &lobbyUrl, const LoginInformation &info);
|
|
|
|
|
|
|
|
private:
|
2023-10-11 13:39:10 -04:00
|
|
|
LauncherCore &m_launcher;
|
2023-07-30 08:49:34 -04:00
|
|
|
};
|