diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-10-11 23:04:24 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-11-04 15:23:49 +0100 |
commit | fede712a26937c5c0815cb9ed62320a8611794eb (patch) | |
tree | 1e881f91a01a235bf38710a795ad8add7a728208 /api/logic/minecraft/MinecraftInstance.h | |
parent | 87edaa7dcd05db10399eda1b2769208a82a54cdf (diff) | |
download | MultiMC-fede712a26937c5c0815cb9ed62320a8611794eb.tar MultiMC-fede712a26937c5c0815cb9ed62320a8611794eb.tar.gz MultiMC-fede712a26937c5c0815cb9ed62320a8611794eb.tar.lz MultiMC-fede712a26937c5c0815cb9ed62320a8611794eb.tar.xz MultiMC-fede712a26937c5c0815cb9ed62320a8611794eb.zip |
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.
Diffstat (limited to 'api/logic/minecraft/MinecraftInstance.h')
-rw-r--r-- | api/logic/minecraft/MinecraftInstance.h | 6 |
1 files changed, 3 insertions, 3 deletions
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<MinecraftProfile> getMinecraftProfile() const; + std::shared_ptr<ComponentList> getComponentList() const; void reloadProfile(); void clearProfile(); bool reload() override; @@ -114,7 +114,7 @@ private: QString prettifyTimeDuration(int64_t duration); protected: // data - std::shared_ptr<MinecraftProfile> m_profile; + std::shared_ptr<ComponentList> m_profile; mutable std::shared_ptr<ModList> m_loader_mod_list; mutable std::shared_ptr<ModList> m_core_mod_list; mutable std::shared_ptr<ModList> m_resource_pack_list; |