summaryrefslogtreecommitdiffstats
path: root/logic/OneSixAssets.h
blob: 6c6f2c36234e2d454b2bd0d8131023a9ef91c151 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once
#include "net/DownloadJob.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 fetchXMLFinished();
	void downloadFinished();
public:
	void start();
private:
	ThreadedDeleter * deleter;
	QStringList nuke_whitelist;
	DownloadJobPtr index_job;
	DownloadJobPtr files_job;
};