summaryrefslogtreecommitdiffstats
path: root/MultiMC.cpp
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2014-02-19 22:34:17 +0100
committerJan Dalheimer <jan@dalheimer.de>2014-02-19 22:34:17 +0100
commit71467246079bd7545472bda161dcaf5549205d33 (patch)
tree5e3ce395f3be7df1503470d215dcf4a532a3d0e8 /MultiMC.cpp
parent5cf599673db88b39100ffca78e10bbe5e10200d7 (diff)
downloadMultiMC-71467246079bd7545472bda161dcaf5549205d33.tar
MultiMC-71467246079bd7545472bda161dcaf5549205d33.tar.gz
MultiMC-71467246079bd7545472bda161dcaf5549205d33.tar.lz
MultiMC-71467246079bd7545472bda161dcaf5549205d33.tar.xz
MultiMC-71467246079bd7545472bda161dcaf5549205d33.zip
New, better, liteloader support
Diffstat (limited to 'MultiMC.cpp')
-rw-r--r--MultiMC.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/MultiMC.cpp b/MultiMC.cpp
index 598a3a80..39a4443e 100644
--- a/MultiMC.cpp
+++ b/MultiMC.cpp
@@ -17,6 +17,7 @@
#include "logic/lists/LwjglVersionList.h"
#include "logic/lists/MinecraftVersionList.h"
#include "logic/lists/ForgeVersionList.h"
+#include "logic/lists/LiteLoaderVersionList.h"
#include "logic/news/NewsChecker.h"
@@ -536,6 +537,15 @@ std::shared_ptr<ForgeVersionList> MultiMC::forgelist()
return m_forgelist;
}
+std::shared_ptr<LiteLoaderVersionList> MultiMC::liteloaderlist()
+{
+ if (!m_liteloaderlist)
+ {
+ m_liteloaderlist.reset(new LiteLoaderVersionList());
+ }
+ return m_liteloaderlist;
+}
+
std::shared_ptr<MinecraftVersionList> MultiMC::minecraftlist()
{
if (!m_minecraftlist)