some progress over building
This commit is contained in:
parent
0fa8ba6918
commit
4843fcc77f
7 changed files with 228 additions and 27 deletions
|
@ -15,7 +15,7 @@
|
|||
#include "download.h"
|
||||
#include "taskmanager.h"
|
||||
|
||||
class Collection : protected Loggable, public std::enable_shared_from_this<Collection> {
|
||||
class Collection : protected Loggable {
|
||||
using Sources = std::set<std::string>;
|
||||
using SourcesQueue = std::queue<std::string>;
|
||||
using Downloads = std::map<std::string, std::unique_ptr<Download>>;
|
||||
|
@ -30,6 +30,8 @@ public:
|
|||
const std::shared_ptr<TaskManager>& taskManager
|
||||
);
|
||||
|
||||
bool success() const;
|
||||
|
||||
unsigned int sourcesTotal() const;
|
||||
unsigned int sourcesPending() const;
|
||||
unsigned int sourcesError() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue