Merge pull request #1539 from Trial97/refactor_modpack_ux

Improvements to modpack UX
This commit is contained in:
TheKodeToad
2023-08-31 14:58:54 +01:00
committed by GitHub
35 changed files with 718 additions and 177 deletions

View File

@ -105,7 +105,9 @@ class ResourceAPI {
void operator=(ProjectInfoArgs other) { pack = other.pack; }
};
struct ProjectInfoCallbacks {
std::function<void(QJsonDocument&, ModPlatform::IndexedPack)> on_succeed;
std::function<void(QJsonDocument&, const ModPlatform::IndexedPack&)> on_succeed;
std::function<void(QString const& reason)> on_fail;
std::function<void()> on_abort;
};
struct DependencySearchArgs {