LeviLamina
Loading...
Searching...
No Matches
DeviceIdRecord.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/platform/Result.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace Bedrock::DeviceIdErrorType { struct CacheOpenFailed; }
11namespace Bedrock::DeviceIdErrorType { struct FileWriteError; }
12namespace Bedrock::DeviceIdErrorType { struct NoCacheFound; }
13namespace Bedrock::DeviceIdErrorType { struct ValidationFail; }
14namespace Core { class FileSystem; }
15namespace Core { class Path; }
16// clang-format on
17
18namespace Bedrock {
19
20class DeviceIdRecord {
21public:
22 // member variables
23 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 DeviceIdRecord& operator=(DeviceIdRecord const&);
31 DeviceIdRecord(DeviceIdRecord const&);
32 DeviceIdRecord();
33
34public:
35 // member functions
36 // NOLINTBEGIN
37#ifdef LL_PLAT_C
38 MCNAPI ::Bedrock::Result<
39 void,
40 ::std::variant<
44 ::Bedrock::DeviceIdErrorType::ValidationFail>> writeToCacheFolder(::Core::Path const& pathToCacheFolder);
45#endif
46 // NOLINTEND
47
48public:
49 // static functions
50 // NOLINTBEGIN
51#ifdef LL_PLAT_C
52 MCNAPI static ::Bedrock::Result<
53 void,
54 ::std::variant<
59 readFromCacheFolder(
60 ::Core::FileSystem& fileSystem,
61 ::Core::Path const& pathToCacheFolder,
63 );
64#endif
65 // NOLINTEND
66
67public:
68 // static variables
69 // NOLINTBEGIN
70#ifdef LL_PLAT_C
71 MCNAPI static char const*& _cacheRecordFileName();
72#endif
73 // NOLINTEND
74};
75
76} // namespace Bedrock
Definition DeviceIdRecord.h:20
Definition FileSystem.h:28
Definition Path.h:11
Definition CacheOpenFailed.h:7
Definition FileWriteError.h:7
Definition NoCacheFound.h:7
Definition ValidationFail.h:7
Definition Alias.h:14