mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-27 21:15:19 +00:00
24 lines
383 B
C++
24 lines
383 B
C++
#pragma once
|
|
#include "dlqueue.h"
|
|
|
|
class Private;
|
|
|
|
class OneSixAssets : public QObject
|
|
{
|
|
Q_OBJECT
|
|
signals:
|
|
void failed();
|
|
void finished();
|
|
|
|
public slots:
|
|
void fetchFinished();
|
|
void fetchStarted();
|
|
public:
|
|
void start();
|
|
private:
|
|
QSharedPointer<QNetworkAccessManager> net_manager {new QNetworkAccessManager()};
|
|
JobListQueue dl;
|
|
JobListPtr index_job;
|
|
JobListPtr files_job;
|
|
};
|