From fede712a26937c5c0815cb9ed62320a8611794eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Wed, 11 Oct 2017 23:04:24 +0200 Subject: NOISSUE rename MinecraftProfile to ComponentList It is realistically a list of components. The fact that it also holds the final launch parameters is a design bug. --- api/logic/minecraft/MinecraftInstance.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'api/logic/minecraft/MinecraftInstance.h') diff --git a/api/logic/minecraft/MinecraftInstance.h b/api/logic/minecraft/MinecraftInstance.h index d3a61c5d..417098da 100644 --- a/api/logic/minecraft/MinecraftInstance.h +++ b/api/logic/minecraft/MinecraftInstance.h @@ -9,7 +9,7 @@ class ModList; class WorldList; class LaunchStep; -class MinecraftProfile; +class ComponentList; class MULTIMC_LOGIC_EXPORT MinecraftInstance: public BaseInstance { @@ -52,7 +52,7 @@ public: ////// Profile management ////// void createProfile(); - std::shared_ptr getMinecraftProfile() const; + std::shared_ptr getComponentList() const; void reloadProfile(); void clearProfile(); bool reload() override; @@ -114,7 +114,7 @@ private: QString prettifyTimeDuration(int64_t duration); protected: // data - std::shared_ptr m_profile; + std::shared_ptr m_profile; mutable std::shared_ptr m_loader_mod_list; mutable std::shared_ptr m_core_mod_list; mutable std::shared_ptr m_resource_pack_list; -- cgit v1.2.3