refactor: put resource downloading classes in common namespace

Puts them all inside the 'ResourceDownload' namespace, so that it's a
bit clearer from the outside that those belong to the same 'module'.

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow 2022-12-16 19:03:52 -03:00
parent 6a18079953
commit 433a802c6e
No known key found for this signature in database
GPG key ID: 8D0F221F0A59F469
21 changed files with 156 additions and 81 deletions

View file

@ -24,6 +24,8 @@
#include "ui/pages/modplatform/flame/FlameResourcePages.h"
#include "ui/pages/modplatform/modrinth/ModrinthResourcePages.h"
namespace ResourceDownload {
ModDownloadDialog::ModDownloadDialog(QWidget* parent, const std::shared_ptr<ModFolderModel>& mods, BaseInstance* instance)
: ResourceDownloadDialog(parent, mods), m_instance(instance)
{
@ -57,3 +59,5 @@ QList<BasePage*> ModDownloadDialog::getPages()
return pages;
}
} // namespace ResourceDownload