diff options
Diffstat (limited to 'logic/minecraft/ftb/FTBVersion.h')
-rw-r--r-- | logic/minecraft/ftb/FTBVersion.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/logic/minecraft/ftb/FTBVersion.h b/logic/minecraft/ftb/FTBVersion.h new file mode 100644 index 00000000..805319b4 --- /dev/null +++ b/logic/minecraft/ftb/FTBVersion.h @@ -0,0 +1,32 @@ +#pragma once +#include <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; +}; |