91ba4cf75e
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
26 lines
572 B
C++
26 lines
572 B
C++
#pragma once
|
|
|
|
#include <QList>
|
|
#include <QString>
|
|
#include <cstddef>
|
|
#include "net/Mode.h"
|
|
|
|
class PackProfile;
|
|
|
|
struct RemoteLoadStatus {
|
|
enum class Type { Index, List, Version } type = Type::Version;
|
|
size_t PackProfileIndex = 0;
|
|
bool finished = false;
|
|
bool succeeded = false;
|
|
QString error;
|
|
};
|
|
|
|
struct ComponentUpdateTaskData {
|
|
PackProfile* m_list = nullptr;
|
|
QList<RemoteLoadStatus> remoteLoadStatusList;
|
|
bool remoteLoadSuccessful = true;
|
|
size_t remoteTasksInProgress = 0;
|
|
ComponentUpdateTask::Mode mode;
|
|
Net::Mode netmode;
|
|
};
|