summaryrefslogtreecommitdiffstats
path: root/logic/ForgeInstaller.h
blob: f6f22a2ac1e20ceaae7f64d2f4b5ac51b6983438 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#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;
};