pollymc/logic/OneSixAssets.h

28 lines
451 B
C
Raw Normal View History

2013-08-04 03:28:39 +05:30
#pragma once
#include "net/NetJob.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();
void indexStarted();
void filesStarted();
void filesProgress(int, int, int);
2013-08-04 03:28:39 +05:30
public slots:
void S3BucketFinished();
2013-09-02 03:55:40 +05:30
void downloadFinished();
2013-08-04 03:28:39 +05:30
public:
void start();
private:
2013-09-02 03:55:40 +05:30
ThreadedDeleter * deleter;
QStringList nuke_whitelist;
NetJobPtr index_job;
NetJobPtr files_job;
2013-08-04 03:28:39 +05:30
};