2013-12-20 13:47:26 +00:00
|
|
|
#pragma once
|
|
|
|
|
2015-01-27 21:31:07 +00:00
|
|
|
#include "logic/OneSixInstance.h"
|
2013-12-20 13:47:26 +00:00
|
|
|
|
|
|
|
class OneSixLibrary;
|
|
|
|
|
|
|
|
class OneSixFTBInstance : public OneSixInstance
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit OneSixFTBInstance(const QString &rootDir, SettingsObject *settings,
|
|
|
|
QObject *parent = 0);
|
2014-03-30 19:11:05 +01:00
|
|
|
virtual ~OneSixFTBInstance(){};
|
2014-02-21 17:01:06 +00:00
|
|
|
|
2014-02-21 18:15:59 +00:00
|
|
|
void copy(const QDir &newDir) override;
|
2014-02-21 17:01:06 +00:00
|
|
|
|
2015-04-03 10:55:16 +01:00
|
|
|
virtual void createProfile();
|
|
|
|
|
2013-12-20 13:47:26 +00:00
|
|
|
virtual QString getStatusbarDescription();
|
|
|
|
|
2014-01-27 02:00:49 +00:00
|
|
|
virtual std::shared_ptr<Task> doUpdate() override;
|
2013-12-20 13:47:26 +00:00
|
|
|
|
2014-01-15 21:49:37 +00:00
|
|
|
virtual QString id() const;
|
|
|
|
|
2014-02-21 17:01:06 +00:00
|
|
|
QDir librariesPath() const override;
|
|
|
|
QDir versionsPath() const override;
|
2014-02-21 18:15:59 +00:00
|
|
|
bool providesVersionFile() const override;
|
2013-12-20 13:47:26 +00:00
|
|
|
};
|