#pragma once #include #include 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; };