summaryrefslogtreecommitdiffstats
path: root/MultiMC.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-05-05 00:10:59 +0200
committerPetr Mrázek <peterix@gmail.com>2014-06-09 01:38:29 +0200
commit4c3bd416c65ec887209fa06b0a5634099b77f322 (patch)
treef656031d147aba8f8dd621de2bd452ea1bfd86b4 /MultiMC.cpp
parentaade36860c373268857ca821c14a13f38c880b1a (diff)
downloadMultiMC-4c3bd416c65ec887209fa06b0a5634099b77f322.tar
MultiMC-4c3bd416c65ec887209fa06b0a5634099b77f322.tar.gz
MultiMC-4c3bd416c65ec887209fa06b0a5634099b77f322.tar.lz
MultiMC-4c3bd416c65ec887209fa06b0a5634099b77f322.tar.xz
MultiMC-4c3bd416c65ec887209fa06b0a5634099b77f322.zip
Much change, very jarmod.
Diffstat (limited to 'MultiMC.cpp')
-rw-r--r--MultiMC.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/MultiMC.cpp b/MultiMC.cpp
index 28fe8e26..6b5545c1 100644
--- a/MultiMC.cpp
+++ b/MultiMC.cpp
@@ -38,6 +38,8 @@
#include "logic/tools/JVisualVM.h"
#include "logic/tools/MCEditTool.h"
+#include "logic/URNResolver.h"
+
#include "pathutils.h"
#include "cmdutils.h"
#include <inisettingsobject.h>
@@ -644,6 +646,16 @@ std::shared_ptr<JavaVersionList> MultiMC::javalist()
return m_javalist;
}
+std::shared_ptr<URNResolver> MultiMC::resolver()
+{
+ if (!m_resolver)
+ {
+ m_resolver.reset(new URNResolver());
+ }
+ return m_resolver;
+}
+
+
void MultiMC::installUpdates(const QString updateFilesDir, UpdateFlags flags)
{
// if we are going to update on exit, save the params now