2013-12-20 19:17:26 +05:30
|
|
|
#pragma once
|
|
|
|
|
2014-01-24 22:42:02 +05:30
|
|
|
#include "OneSixInstance.h"
|
2013-12-20 19:17:26 +05:30
|
|
|
|
2014-01-24 22:42:02 +05:30
|
|
|
class OneSixLibrary;
|
2013-12-20 19:17:26 +05:30
|
|
|
|
2014-01-24 22:42:02 +05:30
|
|
|
class OneSixFTBInstance : public OneSixInstance
|
2013-12-20 19:17:26 +05:30
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2014-01-24 22:42:02 +05:30
|
|
|
explicit OneSixFTBInstance(const QString &rootDir, SettingsObject *settings,
|
2013-12-20 19:17:26 +05:30
|
|
|
QObject *parent = 0);
|
|
|
|
virtual QString getStatusbarDescription();
|
|
|
|
virtual bool menuActionEnabled(QString action_name) const;
|
|
|
|
|
|
|
|
virtual std::shared_ptr<Task> doUpdate(bool only_prepare) override;
|
|
|
|
|
2014-01-16 03:19:37 +05:30
|
|
|
virtual QString id() const;
|
|
|
|
|
2013-12-20 19:17:26 +05:30
|
|
|
private:
|
2014-01-24 22:42:02 +05:30
|
|
|
std::shared_ptr<OneSixLibrary> m_forge;
|
2013-12-20 19:17:26 +05:30
|
|
|
};
|