2013-08-04 03:28:39 +05:30
|
|
|
#pragma once
|
2013-08-07 05:08:18 +05:30
|
|
|
#include "net/DownloadJob.h"
|
2013-08-04 03:28:39 +05:30
|
|
|
|
|
|
|
class Private;
|
2013-09-02 03:55:40 +05:30
|
|
|
class ThreadedDeleter;
|
2013-08-04 03:28:39 +05:30
|
|
|
|
|
|
|
class OneSixAssets : public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
signals:
|
|
|
|
void failed();
|
|
|
|
void finished();
|
|
|
|
|
|
|
|
public slots:
|
2013-09-02 03:55:40 +05:30
|
|
|
void fetchXMLFinished();
|
|
|
|
void downloadFinished();
|
2013-08-04 03:28:39 +05:30
|
|
|
public:
|
|
|
|
void start();
|
2013-08-04 07:49:10 +05:30
|
|
|
private:
|
2013-09-02 03:55:40 +05:30
|
|
|
ThreadedDeleter * deleter;
|
|
|
|
QStringList nuke_whitelist;
|
|
|
|
DownloadJobPtr index_job;
|
|
|
|
DownloadJobPtr files_job;
|
2013-08-04 03:28:39 +05:30
|
|
|
};
|