mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 08:10:11 +00:00
33 lines
750 B
C++
33 lines
750 B
C++
#pragma once
|
|
|
|
#include "OneSixInstance.h"
|
|
|
|
class OneSixLibrary;
|
|
|
|
class OneSixFTBInstance : public OneSixInstance
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit OneSixFTBInstance(const QString &rootDir, SettingsObject *settings,
|
|
QObject *parent = 0);
|
|
virtual ~OneSixFTBInstance(){};
|
|
|
|
void init() override;
|
|
void copy(const QDir &newDir) override;
|
|
|
|
virtual QString getStatusbarDescription();
|
|
virtual bool menuActionEnabled(QString action_name) const;
|
|
|
|
virtual std::shared_ptr<Task> doUpdate() override;
|
|
|
|
virtual QString id() const;
|
|
|
|
QDir librariesPath() const override;
|
|
QDir versionsPath() const override;
|
|
QStringList externalPatches() const override;
|
|
bool providesVersionFile() const override;
|
|
|
|
private:
|
|
std::shared_ptr<OneSixLibrary> m_forge;
|
|
};
|