PrismLauncher/logic/ftb/OneSixFTBInstance.h
2015-04-12 20:57:18 +02:00

30 lines
665 B
C++

#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;
};