GH-575 separate legacy jar mod list from mod list

This commit is contained in:
Petr Mrázek
2016-04-04 00:33:56 +02:00
parent 5aff10d51d
commit 12413f722d
8 changed files with 788 additions and 8 deletions

View File

@ -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;