LeviLamina
Loading...
Searching...
No Matches
IZipUtility.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/file/FileBufferingMode.h"
7
#include "mc/deps/core/file/PathBuffer.h"
8
#include "mc/platform/Result.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
namespace
Core {
class
Path
; }
13
namespace
Core {
class
PathView; }
14
namespace
Core::ZipUtils {
class
UnzipSettings; }
15
namespace
Core::ZipUtils {
class
ZipProgress; }
16
namespace
Core::ZipUtils {
class
ZipSettings; }
17
// clang-format on
18
19
namespace
Core::ZipUtils {
20
21
class
IZipUtility
{
22
public
:
23
// virtual functions
24
// NOLINTBEGIN
25
// vIndex: 0
26
virtual
~IZipUtility
() =
default
;
27
28
// vIndex: 2
29
virtual ::Bedrock::Result<void>
30
zip
(
::Core::Path
const
&,
31
::Core::Path
const
&,
32
::Core::ZipUtils::ZipProgress
&,
33
bool
,
34
::Core::ZipUtils::ZipSettings
const
&)
const
= 0;
35
36
// vIndex: 1
37
virtual ::Bedrock::Result<void>
38
zip
(::std::vector<
::Core::PathBuffer<::std::string>
>
const
&,
39
::Core::PathView
,
40
::Core::ZipUtils::ZipProgress
&,
41
bool
,
42
::std::function<::std::string(
::Core::PathView
)>,
43
::Core::ZipUtils::ZipSettings
const
&)
const
= 0;
44
45
// vIndex: 3
46
virtual ::Bedrock::Result<void> unzipInTransaction(
47
::Core::Path
const
&,
48
::Core::Path
const
&,
49
::Core::ZipUtils::ZipProgress
&,
50
bool
,
51
::Core::ZipUtils::UnzipSettings
const
&
52
)
const
= 0;
53
54
// vIndex: 4
55
virtual ::Bedrock::Result<void> unzipToFlatFile(
56
::Core::Path
const
&,
57
::Core::Path
const
&,
58
::Core::ZipUtils::ZipProgress
&,
59
::Core::FileBufferingMode,
60
::Core::ZipUtils::UnzipSettings
const
&
61
)
const
= 0;
62
63
// vIndex: 5
64
virtual
bool
getFilenames(
65
::Core::Path
const
&,
66
::std::vector<
::Core::PathBuffer<::std::string>
>&,
67
::Core::ZipUtils::UnzipSettings
const
&
68
)
const
= 0;
69
70
// vIndex: 6
71
virtual
bool
exists(
::Core::Path
const
&,
::Core::Path
const
&,
::Core::ZipUtils::UnzipSettings
const
&)
const
= 0;
72
// NOLINTEND
73
74
public
:
75
// virtual function thunks
76
// NOLINTBEGIN
77
78
// NOLINTEND
79
};
80
81
}
// namespace Core::ZipUtils
Core::PathBuffer
Definition
PathBuffer.h:8
Core::PathView
Definition
PathView.h:15
Core::Path
Definition
Path.h:11
Core::ZipUtils::IZipUtility
Definition
IZipUtility.h:21
Core::ZipUtils::UnzipSettings
Definition
UnzipSettings.h:7
Core::ZipUtils::ZipProgress
Definition
ZipProgress.h:7
Core::ZipUtils::ZipSettings
Definition
ZipSettings.h:7
Path
Definition
Path.h:16
zip
Definition
zip.h:5
src-server
mc
deps
core
file
IZipUtility.h
Generated on Sun Oct 12 2025 06:31:23 for LeviLamina by
1.12.0