mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-28 06:18:06 +00:00
26 lines
417 B
C
26 lines
417 B
C
|
#pragma once
|
||
|
#include <QString>
|
||
|
#include <QSharedPointer>
|
||
|
|
||
|
class OneSixVersion;
|
||
|
|
||
|
class ForgeInstaller
|
||
|
{
|
||
|
public:
|
||
|
ForgeInstaller(QString filename, QString universal_url);
|
||
|
|
||
|
bool apply(QSharedPointer<OneSixVersion> to);
|
||
|
|
||
|
private:
|
||
|
// the version, read from the installer
|
||
|
QSharedPointer<OneSixVersion> m_forge_version;
|
||
|
QString internalPath;
|
||
|
QString finalPath;
|
||
|
QString realVersionId;
|
||
|
QString m_universal_url;
|
||
|
};
|
||
|
|
||
|
|
||
|
|
||
|
|