PrismLauncher/launcher/minecraft/update/LibrariesTask.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
463 B
C
Raw Normal View History

#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;
};