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 _runMigration(
54 ::std::shared_ptr<::Bedrock::StorageMigration::ManifestData>,
55 ::std::shared_ptr<::Bedrock::StorageMigration::FoundFiles>,
57 ::std::function<void(::Bedrock::StorageMigration::MigrationResult)>
58 ) const = 0;
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64
65 // NOLINTEND
66};
67
68} // namespace Bedrock::StorageMigration
Definition StorageMigrator.h:17
Definition TaskResult.h:5
Definition Alias.h:14