PrismLauncher/launcher/minecraft/update/LibrariesTask.h
Sefa Eyeoglu 1d468ac35a
chore: reformat
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-08-02 18:35:35 +02:00

26 lines
473 B
C++

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