diff options
Diffstat (limited to 'launcher/modplatform/CheckUpdateTask.h')
-rw-r--r-- | launcher/modplatform/CheckUpdateTask.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/launcher/modplatform/CheckUpdateTask.h b/launcher/modplatform/CheckUpdateTask.h index a4c03cb7..8bd83d98 100644 --- a/launcher/modplatform/CheckUpdateTask.h +++ b/launcher/modplatform/CheckUpdateTask.h @@ -1,6 +1,7 @@ #pragma once #include "minecraft/mod/Mod.h" +#include "minecraft/mod/tasks/GetModDependenciesTask.h" #include "modplatform/ModIndex.h" #include "modplatform/ResourceAPI.h" #include "tasks/Task.h" @@ -49,6 +50,7 @@ class CheckUpdateTask : public Task { }; auto getUpdatable() -> std::vector<UpdatableMod>&& { return std::move(m_updatable); } + auto getDependencies() -> QList<std::shared_ptr<GetModDependenciesTask::PackDependency>>&& { return std::move(m_deps); } public slots: bool abort() override = 0; @@ -66,4 +68,5 @@ class CheckUpdateTask : public Task { std::shared_ptr<ModFolderModel> m_mods_folder; std::vector<UpdatableMod> m_updatable; + QList<std::shared_ptr<GetModDependenciesTask::PackDependency>> m_deps; }; |