sneedmc/logic/OneSixFTBInstance.h

32 lines
690 B
C
Raw Normal View History

#pragma once
#include "OneSixInstance.h"
class OneSixLibrary;
class OneSixFTBInstance : public OneSixInstance
{
Q_OBJECT
public:
explicit OneSixFTBInstance(const QString &rootDir, SettingsObject *settings,
QObject *parent = 0);
2014-03-30 18:11:05 +00:00
virtual ~OneSixFTBInstance(){};
void init() override;
2014-02-21 18:15:59 +00:00
void copy(const QDir &newDir) override;
virtual QString getStatusbarDescription();
virtual std::shared_ptr<Task> doUpdate() override;
virtual QString id() const;
QDir librariesPath() const override;
QDir versionsPath() const override;
QStringList externalPatches() const override;
2014-02-21 18:15:59 +00:00
bool providesVersionFile() const override;
private:
std::shared_ptr<OneSixLibrary> m_forge;
};