summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/ftb/LegacyFTBInstance.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/minecraft/ftb/LegacyFTBInstance.h')
-rw-r--r--api/logic/minecraft/ftb/LegacyFTBInstance.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/api/logic/minecraft/ftb/LegacyFTBInstance.h b/api/logic/minecraft/ftb/LegacyFTBInstance.h
new file mode 100644
index 00000000..7178bca4
--- /dev/null
+++ b/api/logic/minecraft/ftb/LegacyFTBInstance.h
@@ -0,0 +1,17 @@
+#pragma once
+
+#include "minecraft/legacy/LegacyInstance.h"
+
+class LegacyFTBInstance : public LegacyInstance
+{
+ Q_OBJECT
+public:
+ explicit LegacyFTBInstance(SettingsObjectPtr globalSettings, SettingsObjectPtr settings, const QString &rootDir);
+ virtual QString id() const;
+ virtual void copy(const QDir &newDir);
+ virtual QString typeName() const;
+ bool canExport() const override
+ {
+ return false;
+ }
+};