summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/legacy/LegacyInstance.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-04-04 00:33:56 +0200
committerPetr Mrázek <peterix@gmail.com>2016-05-15 22:56:14 +0200
commit12413f722de65fc221d2938cb16173be5b7e95d7 (patch)
tree64edb3a2f506424287a6251068713f02b365201c /api/logic/minecraft/legacy/LegacyInstance.h
parent5aff10d51d3fa6bc52313681b8e754d6b8f19327 (diff)
downloadMultiMC-12413f722de65fc221d2938cb16173be5b7e95d7.tar
MultiMC-12413f722de65fc221d2938cb16173be5b7e95d7.tar.gz
MultiMC-12413f722de65fc221d2938cb16173be5b7e95d7.tar.lz
MultiMC-12413f722de65fc221d2938cb16173be5b7e95d7.tar.xz
MultiMC-12413f722de65fc221d2938cb16173be5b7e95d7.zip
GH-575 separate legacy jar mod list from mod list
Diffstat (limited to 'api/logic/minecraft/legacy/LegacyInstance.h')
-rw-r--r--api/logic/minecraft/legacy/LegacyInstance.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/api/logic/minecraft/legacy/LegacyInstance.h b/api/logic/minecraft/legacy/LegacyInstance.h
index 3bef240d..88db5360 100644
--- a/api/logic/minecraft/legacy/LegacyInstance.h
+++ b/api/logic/minecraft/legacy/LegacyInstance.h
@@ -20,6 +20,7 @@
#include "multimc_logic_export.h"
class ModList;
+class LegacyModList;
class Task;
class MULTIMC_LOGIC_EXPORT LegacyInstance : public MinecraftInstance
@@ -44,7 +45,7 @@ public:
*/
////// Mod Lists //////
- std::shared_ptr<ModList> jarModList() const ;
+ std::shared_ptr<LegacyModList> jarModList() const ;
virtual QList< Mod > getJarMods() const override;
std::shared_ptr<ModList> coreModList() const;
std::shared_ptr<ModList> loaderModList() const;
@@ -130,7 +131,7 @@ public:
}
protected:
- mutable std::shared_ptr<ModList> jar_mod_list;
+ mutable std::shared_ptr<LegacyModList> jar_mod_list;
mutable std::shared_ptr<ModList> core_mod_list;
mutable std::shared_ptr<ModList> loader_mod_list;
mutable std::shared_ptr<ModList> texture_pack_list;