summaryrefslogtreecommitdiffstats
path: root/gui/pages/ModFolderPage.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-07-10 00:47:08 +0200
committerPetr Mrázek <peterix@gmail.com>2014-07-10 00:47:08 +0200
commitff06489fed081ed34af63c6ffbdd61e6f917dd3a (patch)
tree504bddc2c79395dab5a070b35fae9b193e579f7f /gui/pages/ModFolderPage.h
parent08fbfa7434340fc4820738d3cb2c726b28e1a0f1 (diff)
downloadMultiMC-ff06489fed081ed34af63c6ffbdd61e6f917dd3a.tar
MultiMC-ff06489fed081ed34af63c6ffbdd61e6f917dd3a.tar.gz
MultiMC-ff06489fed081ed34af63c6ffbdd61e6f917dd3a.tar.lz
MultiMC-ff06489fed081ed34af63c6ffbdd61e6f917dd3a.tar.xz
MultiMC-ff06489fed081ed34af63c6ffbdd61e6f917dd3a.zip
Do not show core mods page for minecraft newer than 1.5.2.
Diffstat (limited to 'gui/pages/ModFolderPage.h')
-rw-r--r--gui/pages/ModFolderPage.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gui/pages/ModFolderPage.h b/gui/pages/ModFolderPage.h
index c193f4c1..13ae97f5 100644
--- a/gui/pages/ModFolderPage.h
+++ b/gui/pages/ModFolderPage.h
@@ -61,3 +61,13 @@ private slots:
void on_rmModBtn_clicked();
void on_viewModBtn_clicked();
};
+
+class CoreModFolderPage : public ModFolderPage
+{
+public:
+ explicit CoreModFolderPage(BaseInstance *inst, std::shared_ptr<ModList> mods, QString id,
+ QString iconName, QString displayName, QString helpPage = "",
+ QWidget *parent = 0);
+ virtual ~CoreModFolderPage(){};
+ virtual bool shouldDisplay();
+};