26 lines
404 B
C++
26 lines
404 B
C++
#pragma once
|
|
#include "tasks/Task.h"
|
|
#include "net/NetJob.h"
|
|
class MinecraftInstance;
|
|
|
|
class LibrariesTask : public Task
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
LibrariesTask(MinecraftInstance * inst);
|
|
|
|
void executeTask() override;
|
|
|
|
bool canAbort() const override;
|
|
|
|
private slots:
|
|
void jarlibFailed(QString reason);
|
|
|
|
public slots:
|
|
bool abort() override;
|
|
|
|
private:
|
|
MinecraftInstance *m_inst;
|
|
NetJobPtr downloadJob;
|
|
};
|