mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-27 12:15:26 +00:00
32 lines
580 B
C++
32 lines
580 B
C++
#pragma once
|
|
#include "tasks/Task.h"
|
|
#include "net/NetJob.h"
|
|
#include "minecraft/VersionFilterData.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;
|
|
};
|
|
|