2013-12-20 19:17:26 +05:30
|
|
|
#pragma once
|
|
|
|
|
2014-01-22 12:03:32 +05:30
|
|
|
#include "DerpInstance.h"
|
2013-12-20 19:17:26 +05:30
|
|
|
|
2014-01-22 12:03:32 +05:30
|
|
|
class DerpLibrary;
|
2013-12-20 19:17:26 +05:30
|
|
|
|
2014-01-22 12:03:32 +05:30
|
|
|
class DerpFTBInstance : public DerpInstance
|
2013-12-20 19:17:26 +05:30
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2014-01-22 12:03:32 +05:30
|
|
|
explicit DerpFTBInstance(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-22 12:03:32 +05:30
|
|
|
std::shared_ptr<DerpLibrary> m_forge;
|
2013-12-20 19:17:26 +05:30
|
|
|
};
|