2013-09-22 07:51:36 +05:30
|
|
|
#pragma once
|
|
|
|
#include <QString>
|
2013-10-06 04:43:40 +05:30
|
|
|
#include <memory>
|
2013-09-22 07:51:36 +05:30
|
|
|
|
|
|
|
class OneSixVersion;
|
|
|
|
|
|
|
|
class ForgeInstaller
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ForgeInstaller(QString filename, QString universal_url);
|
|
|
|
|
2013-10-06 04:43:40 +05:30
|
|
|
bool apply(std::shared_ptr<OneSixVersion> to);
|
2013-09-22 07:51:36 +05:30
|
|
|
|
|
|
|
private:
|
|
|
|
// the version, read from the installer
|
2013-10-06 04:43:40 +05:30
|
|
|
std::shared_ptr<OneSixVersion> m_forge_version;
|
2013-09-22 07:51:36 +05:30
|
|
|
QString internalPath;
|
|
|
|
QString finalPath;
|
|
|
|
QString realVersionId;
|
|
|
|
QString m_universal_url;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|