summaryrefslogtreecommitdiffstats
path: root/logic/ftb/OneSixFTBInstance.h
diff options
context:
space:
mode:
Diffstat (limited to 'logic/ftb/OneSixFTBInstance.h')
-rw-r--r--logic/ftb/OneSixFTBInstance.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/logic/ftb/OneSixFTBInstance.h b/logic/ftb/OneSixFTBInstance.h
new file mode 100644
index 00000000..3419e94c
--- /dev/null
+++ b/logic/ftb/OneSixFTBInstance.h
@@ -0,0 +1,29 @@
+#pragma once
+
+#include "logic/OneSixInstance.h"
+
+class OneSixLibrary;
+
+class OneSixFTBInstance : public OneSixInstance
+{
+ Q_OBJECT
+public:
+ explicit OneSixFTBInstance(const QString &rootDir, SettingsObject *settings,
+ QObject *parent = 0);
+ virtual ~OneSixFTBInstance(){};
+
+ void copy(const QDir &newDir) override;
+
+ virtual QString getStatusbarDescription();
+
+ virtual std::shared_ptr<Task> doUpdate() override;
+
+ virtual QString id() const;
+
+ QDir librariesPath() const override;
+ QDir versionsPath() const override;
+ bool providesVersionFile() const override;
+
+private:
+ std::shared_ptr<OneSixLibrary> m_forge;
+};