mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 17:11:57 +00:00
9233477295
* Adds support for listing all objects in an S3 bucket. * Renames a bunch of network related classes (Download->Action) * Net actions now have static constructors
28 lines
451 B
C++
28 lines
451 B
C++
#pragma once
|
|
#include "net/NetJob.h"
|
|
|
|
class Private;
|
|
class ThreadedDeleter;
|
|
|
|
class OneSixAssets : public QObject
|
|
{
|
|
Q_OBJECT
|
|
signals:
|
|
void failed();
|
|
void finished();
|
|
void indexStarted();
|
|
void filesStarted();
|
|
void filesProgress(int, int, int);
|
|
|
|
public slots:
|
|
void S3BucketFinished();
|
|
void downloadFinished();
|
|
public:
|
|
void start();
|
|
private:
|
|
ThreadedDeleter * deleter;
|
|
QStringList nuke_whitelist;
|
|
NetJobPtr index_job;
|
|
NetJobPtr files_job;
|
|
};
|