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