#pragma once #include "Application.h" #include "modplatform/CheckUpdateTask.h" #include "net/NetJob.h" class ModrinthCheckUpdate : public CheckUpdateTask { Q_OBJECT public: ModrinthCheckUpdate(QList& mods, std::list& mcVersions, std::optional loaders, std::shared_ptr mods_folder) : CheckUpdateTask(mods, mcVersions, loaders, mods_folder) {} public slots: bool abort() override; protected slots: void executeTask() override; private: NetJob* m_net_job = nullptr; };