2013-08-03 22:58:39 +01:00
|
|
|
#pragma once
|
2013-08-04 03:19:10 +01:00
|
|
|
#include "dlqueue.h"
|
2013-08-03 22:58:39 +01:00
|
|
|
|
|
|
|
class Private;
|
|
|
|
|
|
|
|
class OneSixAssets : public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
signals:
|
|
|
|
void failed();
|
|
|
|
void finished();
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void fetchFinished();
|
|
|
|
void fetchStarted();
|
|
|
|
public:
|
|
|
|
void start();
|
2013-08-04 03:19:10 +01:00
|
|
|
private:
|
|
|
|
QSharedPointer<QNetworkAccessManager> net_manager {new QNetworkAccessManager()};
|
|
|
|
JobListQueue dl;
|
|
|
|
JobListPtr index_job;
|
|
|
|
JobListPtr files_job;
|
2013-08-03 22:58:39 +01:00
|
|
|
};
|