blob: dd652fd1fbddd6275d0909544821daf763c91178 (
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
26
27
28
29
|
#pragma once
#include "minecraft/OneSixInstance.h"
class OneSixLibrary;
class OneSixFTBInstance : public OneSixInstance
{
Q_OBJECT
public:
explicit OneSixFTBInstance(SettingsObjectPtr globalSettings, SettingsObjectPtr settings, const QString &rootDir);
virtual ~OneSixFTBInstance(){};
void copy(const QDir &newDir) override;
virtual void createProfile();
virtual QString getStatusbarDescription();
virtual std::shared_ptr<Task> doUpdate() override;
virtual QString id() const;
QDir librariesPath() const override;
QDir versionsPath() const override;
bool providesVersionFile() const override;
private:
SettingsObjectPtr m_globalSettings;
};
|