2013-12-20 19:17:26 +05:30
|
|
|
#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 23:41:05 +05:30
|
|
|
virtual ~OneSixFTBInstance(){};
|
2014-02-21 22:31:06 +05:30
|
|
|
|
|
|
|
void init() override;
|
2014-02-21 23:45:59 +05:30
|
|
|
void copy(const QDir &newDir) override;
|
2014-02-21 22:31:06 +05:30
|
|
|
|
2013-12-20 19:17:26 +05:30
|
|
|
virtual QString getStatusbarDescription();
|
|
|
|
virtual bool menuActionEnabled(QString action_name) const;
|
|
|
|
|
2014-01-27 07:30:49 +05:30
|
|
|
virtual std::shared_ptr<Task> doUpdate() override;
|
2013-12-20 19:17:26 +05:30
|
|
|
|
2014-01-16 03:19:37 +05:30
|
|
|
virtual QString id() const;
|
|
|
|
|
2014-02-21 22:31:06 +05:30
|
|
|
QDir librariesPath() const override;
|
|
|
|
QDir versionsPath() const override;
|
|
|
|
QStringList externalPatches() const override;
|
2014-02-21 23:45:59 +05:30
|
|
|
bool providesVersionFile() const override;
|
2014-02-20 21:36:32 +05:30
|
|
|
|
2013-12-20 19:17:26 +05:30
|
|
|
private:
|
|
|
|
std::shared_ptr<OneSixLibrary> m_forge;
|
|
|
|
};
|