LeviLamina
Loading...
Searching...
No Matches
StorageMigrator.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/application/storage_migration/MigrationResult.h"
7
8// auto generated forward declare list
9// clang-format off
10class TaskResult;
11namespace Bedrock::StorageMigration { struct FoundFiles; }
12namespace Bedrock::StorageMigration { struct ManifestData; }
13// clang-format on
14
15namespace Bedrock::StorageMigration {
16
17class StorageMigrator : public ::std::enable_shared_from_this<::Bedrock::StorageMigration::StorageMigrator> {
18public:
19 // StorageMigrator inner types declare
20 // clang-format off
22 // clang-format on
23
24 // StorageMigrator inner types define
26 public:
27 // member variables
28 // NOLINTBEGIN
34 // NOLINTEND
35
36 public:
37 // prevent constructor by default
38 MigrationProgress& operator=(MigrationProgress const&);
41 };
42
43public:
44 // virtual functions
45 // NOLINTBEGIN
46 // vIndex: 0
47 virtual ~StorageMigrator() = default;
48
49 // vIndex: 1
50 virtual bool doQuickCompletionCheck() = 0;
51
52 // vIndex: 2
53 virtual void
54 _runMigration(::std::shared_ptr<::Bedrock::StorageMigration::ManifestData>, ::std::shared_ptr<::Bedrock::StorageMigration::FoundFiles>, ::std::function<void(::Bedrock::StorageMigration::StorageMigrator::MigrationProgress)>, ::std::function<void(::Bedrock::StorageMigration::MigrationResult)>)
55 const = 0;
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67
68 // NOLINTEND
69};
70
71} // namespace Bedrock::StorageMigration
Definition StorageMigrator.h:17
Definition TaskResult.h:8
Definition Alias.h:14