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
12namespace Core { class Path; }
13namespace Core { class PathView; }
14namespace Core::ZipUtils { class UnzipSettings; }
15namespace Core::ZipUtils { class ZipProgress; }
16namespace Core::ZipUtils { class ZipSettings; }
17// clang-format on
18
19namespace Core::ZipUtils {
20
22public:
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&,
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&,
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&,
50 bool,
52 ) const = 0;
53
54 // vIndex: 4
55 virtual ::Bedrock::Result<void> unzipToFlatFile(
56 ::Core::Path const&,
57 ::Core::Path const&,
59 ::Core::FileBufferingMode,
61 ) const = 0;
62
63 // vIndex: 5
64 virtual bool getFilenames(
65 ::Core::Path 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
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77
78 // NOLINTEND
79};
80
81} // namespace Core::ZipUtils
Definition PathBuffer.h:8
Definition PathView.h:15
Definition Path.h:11
Definition IZipUtility.h:21
Definition UnzipSettings.h:7
Definition ZipProgress.h:7
Definition ZipSettings.h:7
Definition Path.h:16
Definition zip.h:5