mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-27 03:14:49 +00:00
27 lines
463 B
C++
27 lines
463 B
C++
#pragma once
|
|
#include "tasks/Task.h"
|
|
#include "net/NetJob.h"
|
|
class MinecraftInstance;
|
|
|
|
class LibrariesTask : public Task
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
LibrariesTask(MinecraftInstance * inst);
|
|
virtual ~LibrariesTask() {};
|
|
|
|
void executeTask() override;
|
|
|
|
bool canAbort() const override;
|
|
|
|
private slots:
|
|
void jarlibFailed(QString reason);
|
|
|
|
public slots:
|
|
bool abort() override;
|
|
|
|
private:
|
|
MinecraftInstance *m_inst;
|
|
NetJob::Ptr downloadJob;
|
|
};
|