summaryrefslogtreecommitdiffstats
path: root/application/InstancePageProvider.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-07-23 21:29:03 +0200
committerPetr Mrázek <peterix@gmail.com>2017-09-09 18:30:22 +0200
commitb29382c748353856053f07b4756fa98f854244e1 (patch)
treef87f95bf99dd0a7251df2a8f8ada2244d402c244 /application/InstancePageProvider.h
parent4c01983f470e25dfd4c997201370057bba64832e (diff)
downloadMultiMC-b29382c748353856053f07b4756fa98f854244e1.tar
MultiMC-b29382c748353856053f07b4756fa98f854244e1.tar.gz
MultiMC-b29382c748353856053f07b4756fa98f854244e1.tar.lz
MultiMC-b29382c748353856053f07b4756fa98f854244e1.tar.xz
MultiMC-b29382c748353856053f07b4756fa98f854244e1.zip
NOISSUE Remove Legacy support
Diffstat (limited to 'application/InstancePageProvider.h')
-rw-r--r--application/InstancePageProvider.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/application/InstancePageProvider.h b/application/InstancePageProvider.h
index 1d6cc5d7..2f1dcced 100644
--- a/application/InstancePageProvider.h
+++ b/application/InstancePageProvider.h
@@ -1,6 +1,5 @@
#pragma once
#include "minecraft/onesix/OneSixInstance.h"
-#include "minecraft/legacy/LegacyInstance.h"
#include <FileSystem.h>
#include "pages/BasePage.h"
#include "pages/LogPage.h"
@@ -13,7 +12,6 @@
#include "pages/InstanceSettingsPage.h"
#include "pages/OtherLogsPage.h"
#include "pages/BasePageProvider.h"
-#include "pages/LegacyJarModPage.h"
#include "pages/WorldListPage.h"
@@ -46,22 +44,6 @@ public:
values.append(new ScreenshotsPage(FS::PathCombine(onesix->minecraftRoot(), "screenshots")));
values.append(new InstanceSettingsPage(onesix.get()));
}
- std::shared_ptr<LegacyInstance> legacy = std::dynamic_pointer_cast<LegacyInstance>(inst);
- if(legacy)
- {
- // FIXME: actually implement the legacy instance upgrade, then enable this.
- //values.append(new LegacyUpgradePage(this));
- values.append(new LegacyJarModPage(legacy.get()));
- auto modsPage = new ModFolderPage(legacy.get(), legacy->loaderModList(), "mods", "loadermods", tr("Loader mods"), "Loader-mods");
- modsPage->setFilter("%1 (*.zip *.jar *.litemod)");
- values.append(modsPage);
- values.append(new ModFolderPage(legacy.get(), legacy->coreModList(), "coremods", "coremods", tr("Core mods"), "Loader-mods"));
- values.append(new TexturePackPage(legacy.get()));
- values.append(new NotesPage(legacy.get()));
- values.append(new WorldListPage(legacy.get(), legacy->worldList(), "worlds", "worlds", tr("Worlds"), "Worlds"));
- values.append(new ScreenshotsPage(FS::PathCombine(legacy->minecraftRoot(), "screenshots")));
- values.append(new InstanceSettingsPage(legacy.get()));
- }
auto logMatcher = inst->getLogFileMatcher();
if(logMatcher)
{