pollymc/logic/OneSixAssets.h
Petr Mrázek 9233477295 S3 bucket listing support and network code refactors.
* Adds support for listing all objects in an S3 bucket.
* Renames a bunch of network related classes (Download->Action)
* Net actions now have static constructors
2013-10-26 19:55:48 +02:00

28 lines
451 B
C++

#pragma once
#include "net/NetJob.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 S3BucketFinished();
void downloadFinished();
public:
void start();
private:
ThreadedDeleter * deleter;
QStringList nuke_whitelist;
NetJobPtr index_job;
NetJobPtr files_job;
};