mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-22 12:47:44 +00:00
23 lines
380 B
C
23 lines
380 B
C
|
#pragma once
|
||
|
|
||
|
#include <QObject>
|
||
|
#include <QString>
|
||
|
|
||
|
class LauncherCore;
|
||
|
class Profile;
|
||
|
|
||
|
class GameInstaller : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
GameInstaller(LauncherCore &launcher, Profile &profile, QObject *parent = nullptr);
|
||
|
|
||
|
Q_INVOKABLE void installGame();
|
||
|
|
||
|
Q_SIGNALS:
|
||
|
void installFinished();
|
||
|
|
||
|
private:
|
||
|
LauncherCore &m_launcher;
|
||
|
Profile &m_profile;
|
||
|
};
|