summaryrefslogtreecommitdiffstats
path: root/logic/ftb/FTBVersion.h
diff options
context:
space:
mode:
Diffstat (limited to 'logic/ftb/FTBVersion.h')
-rw-r--r--logic/ftb/FTBVersion.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/logic/ftb/FTBVersion.h b/logic/ftb/FTBVersion.h
new file mode 100644
index 00000000..dbd9c29e
--- /dev/null
+++ b/logic/ftb/FTBVersion.h
@@ -0,0 +1,32 @@
+#pragma once
+#include <logic/minecraft/MinecraftVersion.h>
+
+class FTBVersion : public BaseVersion
+{
+public:
+ FTBVersion(MinecraftVersionPtr parent) : m_version(parent){};
+
+public:
+ virtual QString descriptor() override
+ {
+ return m_version->descriptor();
+ }
+
+ virtual QString name() override
+ {
+ return m_version->name();
+ }
+
+ virtual QString typeString() const override
+ {
+ return m_version->typeString();
+ }
+
+ MinecraftVersionPtr getMinecraftVersion()
+ {
+ return m_version;
+ }
+
+private:
+ MinecraftVersionPtr m_version;
+};