LeviLamina
Loading...
Searching...
No Matches
AppPlatformWindows.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/social/MultiplayerServiceIdentifier.h"
7#include "mc/deps/application/AppPlatform.h"
8#include "mc/deps/core/file/PathBuffer.h"
9#include "mc/deps/core/threading/MPMCQueue.h"
10
11// auto generated forward declare list
12// clang-format off
13class PDFWriter;
14namespace Core { class Path; }
15namespace Social { struct MultiplayerService; }
16// clang-format on
17
18class AppPlatformWindows : public ::AppPlatform {
19public:
20 // member variables
21 // NOLINTBEGIN
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 AppPlatformWindows& operator=(AppPlatformWindows const&);
33 AppPlatformWindows(AppPlatformWindows const&);
34 AppPlatformWindows();
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39#ifdef LL_PLAT_C
40 virtual ::std::string getSystemLocale() const /*override*/;
41
42 virtual void collectGraphicsHardwareDetails() /*override*/;
43
44 virtual bool supportsMSAA() const /*override*/;
45
46#endif
47 virtual uint64 getTotalHardwareThreadsCount() const /*override*/;
48
49 virtual uint64 getHighPerformanceThreadsCount() const /*override*/;
50
51 virtual void initializeGraphicsDeviceTier() /*override*/;
52
53 virtual ::Core::PathBuffer<::std::string> getPlatformTempPath() const /*override*/;
54
55 virtual ::Core::PathBuffer<::std::string> copyImportFileToTempFolder(::Core::Path const& filePath) /*override*/;
56
57 virtual uint64 calculateAvailableDiskFreeSpace(::Core::Path const& rootPath) /*override*/;
58
59 virtual bool allowContentLogWriteToDisk() /*override*/;
60
61 virtual bool devHotReloadRenderResources() const /*override*/;
62
63 virtual void queueForMainThread_DEPRECATED(::std::function<void()> callback) /*override*/;
64
65 virtual ::MPMCQueue<::std::function<void()>>& getMainThreadQueue() /*override*/;
66
67#ifdef LL_PLAT_C
68 virtual bool supportsAlbumExport() const /*override*/;
69
70 virtual bool supportsPDFExport() const /*override*/;
71
72 virtual ::std::shared_ptr<::PDFWriter> createPlatformPDFWriter() /*override*/;
73
74 virtual ::std::vector<::std::shared_ptr<::Social::MultiplayerService>> getMultiplayerServiceListToRegister() const
75 /*override*/;
76
77 virtual ::std::vector<::Social::MultiplayerServiceIdentifier>
78 getBroadcastingMultiplayerServiceIds(bool xblBroadcast, bool platformBroadcast) const /*override*/;
79
80 virtual bool isTablet() const /*override*/;
81
82 virtual double getTimeSFromProcessStart() const /*override*/;
83
84#endif
85 virtual bool canAppSelfTerminate() const /*override*/;
86
87 virtual bool getPlatformTTSExists() const /*override*/;
88
89 virtual bool getPlatformTTSEnabled() const /*override*/;
90
91 virtual void registerExperimentsActiveCrashDump(::std::vector<::std::string> const& activeExperiments) const
92 /*override*/;
93
94#ifdef LL_PLAT_C
95 virtual void showXboxLiveUserSettings() /*override*/;
96
97#endif
98 virtual bool is24HourTimeFormat() const /*override*/;
99
100 virtual ::Core::PathBuffer<::std::string> _getCurrentStoragePath() const /*override*/;
101
102 virtual ::Core::PathBuffer<::std::string> _getExternalStoragePath() const /*override*/;
103
104 virtual ::Core::PathBuffer<::std::string> _getInternalStoragePath() const /*override*/;
105
106 virtual ::Core::PathBuffer<::std::string> _getUserdataPath() const /*override*/;
107
108 virtual ::Core::PathBuffer<::std::string> getPackagedShaderCachePath() /*override*/;
109
110 virtual ~AppPlatformWindows() /*override*/;
111 // NOLINTEND
112
113public:
114 // member functions
115 // NOLINTBEGIN
116 MCAPI uint64 _findHighPerformanceThreadsCount() const;
117 // NOLINTEND
118
119public:
120 // static variables
121 // NOLINTBEGIN
122 MCAPI static ::std::string const& EXPERIMENTS_ACTIVE_KEY();
123 // NOLINTEND
124
125public:
126 // constructor thunks
127 // NOLINTBEGIN
128 MCAPI_C void* $ctor();
129 // NOLINTEND
130
131public:
132 // destructor thunk
133 // NOLINTBEGIN
134 MCAPI void $dtor();
135 // NOLINTEND
136
137public:
138 // virtual function thunks
139 // NOLINTBEGIN
140 MCAPI uint64 $getTotalHardwareThreadsCount() const;
141
142 MCAPI uint64 $getHighPerformanceThreadsCount() const;
143
144 MCAPI void $initializeGraphicsDeviceTier();
145
146 MCAPI ::Core::PathBuffer<::std::string> $getPlatformTempPath() const;
147
148 MCFOLD ::Core::PathBuffer<::std::string> $copyImportFileToTempFolder(::Core::Path const& filePath);
149
150 MCAPI uint64 $calculateAvailableDiskFreeSpace(::Core::Path const& rootPath);
151
152 MCFOLD bool $allowContentLogWriteToDisk();
153
154 MCFOLD bool $devHotReloadRenderResources() const;
155
156 MCAPI void $queueForMainThread_DEPRECATED(::std::function<void()> callback);
157
158 MCAPI ::MPMCQueue<::std::function<void()>>& $getMainThreadQueue();
159
160 MCFOLD bool $canAppSelfTerminate() const;
161
162 MCFOLD bool $getPlatformTTSExists() const;
163
164 MCAPI bool $getPlatformTTSEnabled() const;
165
166 MCAPI void $registerExperimentsActiveCrashDump(::std::vector<::std::string> const& activeExperiments) const;
167
168 MCAPI bool $is24HourTimeFormat() const;
169
170 MCFOLD ::Core::PathBuffer<::std::string> $_getCurrentStoragePath() const;
171
172 MCFOLD ::Core::PathBuffer<::std::string> $_getExternalStoragePath() const;
173
174 MCAPI ::Core::PathBuffer<::std::string> $_getInternalStoragePath() const;
175
176 MCAPI ::Core::PathBuffer<::std::string> $_getUserdataPath() const;
177
178 MCAPI ::Core::PathBuffer<::std::string> $getPackagedShaderCachePath();
179
180#ifdef LL_PLAT_C
181 MCAPI ::std::string $getSystemLocale() const;
182
183 MCFOLD void $collectGraphicsHardwareDetails();
184
185 MCFOLD bool $supportsMSAA() const;
186
187 MCFOLD bool $supportsAlbumExport() const;
188
189 MCFOLD bool $supportsPDFExport() const;
190
191 MCFOLD ::std::shared_ptr<::PDFWriter> $createPlatformPDFWriter();
192
193 MCAPI ::std::vector<::std::shared_ptr<::Social::MultiplayerService>> $getMultiplayerServiceListToRegister() const;
194
195 MCAPI ::std::vector<::Social::MultiplayerServiceIdentifier>
196 $getBroadcastingMultiplayerServiceIds(bool xblBroadcast, bool platformBroadcast) const;
197
198 MCFOLD bool $isTablet() const;
199
200 MCAPI double $getTimeSFromProcessStart() const;
201
202 MCAPI void $showXboxLiveUserSettings();
203#endif
204
205
206 // NOLINTEND
207
208public:
209 // vftables
210 // NOLINTBEGIN
211 MCNAPI static void** $vftableForIAppPlatform();
212
214 // NOLINTEND
215};
static MCAPI void ** $vftableForISecureStorageKeySystem()
static MCAPI void ** $vftableForIAppPlatform()
Definition Path.h:10
MCAPI void $dtor()
Definition PDFWriter.h:11
Definition MultiplayerService.h:7
Definition Alias.h:14