1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 11:47:46 +00:00
astra/launcher/include/compatibilitytoolinstaller.h
Joshua Goins 27e8169a0f Misc code cleanup
Make more things const, auto and whatnot
2024-07-04 20:53:06 -04:00

28 lines
No EOL
622 B
C++

// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include <QtQml>
class LauncherCore;
class CompatibilityToolInstaller : public QObject
{
Q_OBJECT
QML_ELEMENT
QML_UNCREATABLE("Use LauncherCore.createCompatInstaller")
public:
explicit CompatibilityToolInstaller(LauncherCore &launcher, QObject *parent = nullptr);
Q_INVOKABLE void installCompatibilityTool();
Q_INVOKABLE void removeCompatibilityTool();
Q_SIGNALS:
void installFinished();
void error(QString message);
private:
LauncherCore &m_launcher;
};