blob: c969e74dfe7497a4f8d23f2c4f6f3728d02ef5ac (
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
25
|
#pragma once
#include "net/NetJob.h"
#include "tasks/Task.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;
};
|