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