1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-05-17 06:37:45 +00:00
astra/launcher/include/steamapi.h
Joshua Goins 7065cc041b Adapt to the new steamwrap interface
This doesn't give actual encrypted Steam tickets yet, just the base
infrastructure needed to communicate with steamwrap.
2025-05-04 15:27:10 -04:00

23 lines
No EOL
460 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<QString> getTicket();
private:
QNetworkAccessManager m_qnam;
};