summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/onesix/update/LibrariesTask.h
blob: 80cf0d2a1dc600c18af330e0b4651780eaa4e924 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once
#include "tasks/Task.h"
#include "net/NetJob.h"
class OneSixInstance;

class LibrariesTask : public Task
{
public:
	LibrariesTask(OneSixInstance * inst);

	void executeTask() override;

	bool canAbort() const override;

private slots:
	void jarlibFailed(QString reason);

public slots:
	bool abort() override;

private:
	OneSixInstance *m_inst;
	NetJobPtr downloadJob;
};