PrismLauncher/launcher/minecraft/update/FMLLibrariesTask.h
Sefa Eyeoglu 1d468ac35a
chore: reformat
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-08-02 18:35:35 +02:00

30 lines
589 B
C++

#pragma once
#include "minecraft/VersionFilterData.h"
#include "net/NetJob.h"
#include "tasks/Task.h"
class MinecraftInstance;
class FMLLibrariesTask : public Task {
Q_OBJECT
public:
FMLLibrariesTask(MinecraftInstance* inst);
virtual ~FMLLibrariesTask(){};
void executeTask() override;
bool canAbort() const override;
private slots:
void fmllibsFinished();
void fmllibsFailed(QString reason);
public slots:
bool abort() override;
private:
MinecraftInstance* m_inst;
NetJob::Ptr downloadJob;
QList<FMLlib> fmlLibsToProcess;
};