diff options
Diffstat (limited to 'api/logic/minecraft/ComponentUpdateTask_p.h')
-rw-r--r-- | api/logic/minecraft/ComponentUpdateTask_p.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/api/logic/minecraft/ComponentUpdateTask_p.h b/api/logic/minecraft/ComponentUpdateTask_p.h deleted file mode 100644 index 5b02431b..00000000 --- a/api/logic/minecraft/ComponentUpdateTask_p.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once - -#include <cstddef> -#include <QString> -#include <QList> -#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; -}; |