pollymc/launcher/ui/pages/modplatform
flow 6a18079953
refactor: generalize mod models and APIs to resources
Firstly, this abstract away behavior in the mod download models that can
also be applied to other types of resources into a superclass, allowing
other resource types to be implemented without so much code duplication.

For that, this also generalizes the APIs used (currently, ModrinthAPI
and FlameAPI) to be able to make requests to other types of resources.

It also does a general cleanup of both of those. In particular, this
makes use of std::optional instead of invalid values for errors and,
well, optional values :p

This is a squash of some commits that were becoming too interlaced
together to be cleanly separated.

Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13 16:23:00 -03:00
..
atlauncher Check parent in rowCount/columnCount/canFetchMore 2022-11-14 19:05:57 +00:00
flame refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
ftb refactor: replace hoedown markdown parser with cmark 2023-01-12 10:08:52 -05:00
legacy_ftb Check parent in rowCount/columnCount/canFetchMore 2022-11-14 19:05:57 +00:00
modrinth refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
technic Check parent in rowCount/columnCount/canFetchMore 2022-11-14 19:05:57 +00:00
ImportPage.cpp chore: update license headers 2022-07-10 12:19:15 +02:00
ImportPage.h
ImportPage.ui refactor: initial rebrand 2022-10-18 09:37:59 +02:00
ModModel.cpp refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
ModModel.h refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
ModPage.cpp refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
ModPage.h refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
ResourceModel.cpp refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
ResourceModel.h refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
ResourcePage.cpp refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
ResourcePage.h refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
ResourcePage.ui refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
VanillaPage.cpp fix: don't use forward-declared Ptr types in meta/ 2022-11-01 19:48:26 -03:00
VanillaPage.h fix: don't use forward-declared Ptr types in meta/ 2022-11-01 19:48:26 -03:00
VanillaPage.ui