1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-05-17 14:47:45 +00:00
astra/launcher/include/steamapi.h
Joshua Goins 05d33dc5d7 Grab steam ticket from steamwrap, give it to the oauth top API
This puts everything in place now, and yet Square Enix refuses to
my session still :-(
2025-05-04 16:35:38 -04:00

23 lines
477 B
C++

// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include <QCoroTask>
#include <QNetworkAccessManager>
#include <QObject>
class LauncherCore;
class SteamAPI : public QObject
{
public:
explicit SteamAPI(QObject *parent = nullptr);
QCoro::Task<> initialize();
QCoro::Task<> shutdown();
QCoro::Task<std::pair<QString, int>> getTicket();
private:
QNetworkAccessManager m_qnam;
};