diff options
author | Petr Mrázek <peterix@gmail.com> | 2019-01-30 00:35:24 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2019-01-30 00:35:24 +0100 |
commit | 62c9fcdc6cd6b80540cdb8d79ce92db32cfd284e (patch) | |
tree | 4a83da8a22fbb67281ea4c9a729ef750f0ce37ad /api/logic/minecraft/MinecraftInstance.h | |
parent | c1ea42d3d9b793b52d52310f69174f1c5ab9daef (diff) | |
download | MultiMC-62c9fcdc6cd6b80540cdb8d79ce92db32cfd284e.tar MultiMC-62c9fcdc6cd6b80540cdb8d79ce92db32cfd284e.tar.gz MultiMC-62c9fcdc6cd6b80540cdb8d79ce92db32cfd284e.tar.lz MultiMC-62c9fcdc6cd6b80540cdb8d79ce92db32cfd284e.tar.xz MultiMC-62c9fcdc6cd6b80540cdb8d79ce92db32cfd284e.zip |
NOISSUE first step towards having game options management
Diffstat (limited to 'api/logic/minecraft/MinecraftInstance.h')
-rw-r--r-- | api/logic/minecraft/MinecraftInstance.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/api/logic/minecraft/MinecraftInstance.h b/api/logic/minecraft/MinecraftInstance.h index 5f0fa353..091d1bf7 100644 --- a/api/logic/minecraft/MinecraftInstance.h +++ b/api/logic/minecraft/MinecraftInstance.h @@ -9,6 +9,7 @@ class ModsModel; class SimpleModList; class WorldList; +class GameOptions; class LaunchStep; class ComponentList; @@ -72,7 +73,7 @@ public: std::shared_ptr<SimpleModList> resourcePackList() const; std::shared_ptr<SimpleModList> texturePackList() const; std::shared_ptr<WorldList> worldList() const; - + std::shared_ptr<GameOptions> gameOptionsModel() const; ////// Launch stuff ////// shared_qobject_ptr<Task> createUpdateTask(Net::Mode mode) override; @@ -130,6 +131,7 @@ protected: // data mutable std::shared_ptr<SimpleModList> m_resource_pack_list; mutable std::shared_ptr<SimpleModList> m_texture_pack_list; mutable std::shared_ptr<WorldList> m_world_list; + mutable std::shared_ptr<GameOptions> m_game_options; }; typedef std::shared_ptr<MinecraftInstance> MinecraftInstancePtr; |