2013-12-20 13:47:26 +00:00
|
|
|
#pragma once
|
|
|
|
|
2014-01-22 06:33:32 +00:00
|
|
|
#include "DerpInstance.h"
|
2013-12-20 13:47:26 +00:00
|
|
|
|
2014-01-22 06:33:32 +00:00
|
|
|
class DerpLibrary;
|
2013-12-20 13:47:26 +00:00
|
|
|
|
2014-01-22 06:33:32 +00:00
|
|
|
class DerpFTBInstance : public DerpInstance
|
2013-12-20 13:47:26 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2014-01-22 06:33:32 +00:00
|
|
|
explicit DerpFTBInstance(const QString &rootDir, SettingsObject *settings,
|
2013-12-20 13:47:26 +00:00
|
|
|
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-15 21:49:37 +00:00
|
|
|
virtual QString id() const;
|
|
|
|
|
2013-12-20 13:47:26 +00:00
|
|
|
private:
|
2014-01-22 06:33:32 +00:00
|
|
|
std::shared_ptr<DerpLibrary> m_forge;
|
2013-12-20 13:47:26 +00:00
|
|
|
};
|