mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-30 12:15:05 +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;
|
|
};
|
|
|
|
|
|
|
|
|