pollymc/launcher/ui/dialogs
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
..
AboutDialog.cpp refactor: replace hoedown markdown parser with cmark 2023-01-12 10:08:52 -05:00
AboutDialog.h
AboutDialog.ui
BlockedModsDialog.cpp refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
BlockedModsDialog.h fix(blockedmods): Track and use targetFolder for blocked files 2022-12-08 18:42:51 -07:00
BlockedModsDialog.ui fix: remove rogue notr 2022-12-06 20:52:32 +01:00
ChooseProviderDialog.cpp refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
ChooseProviderDialog.h refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
ChooseProviderDialog.ui
CopyInstanceDialog.cpp
CopyInstanceDialog.h
CopyInstanceDialog.ui
CustomMessageBox.cpp
CustomMessageBox.h
EditAccountDialog.cpp
EditAccountDialog.h
EditAccountDialog.ui
ExportInstanceDialog.cpp
ExportInstanceDialog.h
ExportInstanceDialog.ui
IconPickerDialog.cpp Merge pull request #630 from leo78913/yeet-scrollbars 2022-12-17 08:02:41 -08:00
IconPickerDialog.h make removeButton a member of IconPickerDialog 2022-12-08 11:13:53 -03:00
IconPickerDialog.ui
ImportResourcePackDialog.cpp fix: only show scrollbars when needed 2022-12-15 16:34:52 -03:00
ImportResourcePackDialog.h
ImportResourcePackDialog.ui
LoginDialog.cpp
LoginDialog.h
LoginDialog.ui
ModDownloadDialog.cpp refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
ModDownloadDialog.h refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
ModUpdateDialog.cpp refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
ModUpdateDialog.h refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
MSALoginDialog.cpp
MSALoginDialog.h
MSALoginDialog.ui
NewComponentDialog.cpp
NewComponentDialog.h
NewComponentDialog.ui
NewInstanceDialog.cpp
NewInstanceDialog.h
NewInstanceDialog.ui
NewsDialog.cpp
NewsDialog.h
NewsDialog.ui
OfflineLoginDialog.cpp
OfflineLoginDialog.h
OfflineLoginDialog.ui
ProfileSelectDialog.cpp
ProfileSelectDialog.h
ProfileSelectDialog.ui
ProfileSetupDialog.cpp
ProfileSetupDialog.h
ProfileSetupDialog.ui
ProgressDialog.cpp
ProgressDialog.h
ProgressDialog.ui
ResourceDownloadDialog.cpp refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
ResourceDownloadDialog.h refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
ReviewMessageBox.cpp refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
ReviewMessageBox.h refactor: generalize mod models and APIs to resources 2023-01-13 16:23:00 -03:00
ReviewMessageBox.ui
ScrollMessageBox.cpp
ScrollMessageBox.h
ScrollMessageBox.ui
SkinUploadDialog.cpp
SkinUploadDialog.h
SkinUploadDialog.ui
UpdateDialog.cpp refactor: replace hoedown markdown parser with cmark 2023-01-12 10:08:52 -05:00
UpdateDialog.h
UpdateDialog.ui
VersionSelectDialog.cpp
VersionSelectDialog.h