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
113 virtual ~AppPlatformWindows() /*override*/;
114 // NOLINTEND
115
116public:
117 // member functions
118 // NOLINTBEGIN
119#ifdef LL_PLAT_C
120 MCAPI AppPlatformWindows();
121#endif
122
123 MCAPI uint64 _findHighPerformanceThreadsCount() const;
124 // NOLINTEND
125
126public:
127 // static variables
128 // NOLINTBEGIN
129 MCAPI static ::std::string const& EXPERIMENTS_ACTIVE_KEY();
130 // NOLINTEND
131
132public:
133 // constructor thunks
134 // NOLINTBEGIN
135#ifdef LL_PLAT_C
136 MCAPI void* $ctor();
137#endif
138 // NOLINTEND
139
140public:
141 // destructor thunk
142 // NOLINTBEGIN
143 MCAPI void $dtor();
144 // NOLINTEND
145
146public:
147 // virtual function thunks
148 // NOLINTBEGIN
149 MCAPI uint64 $getTotalHardwareThreadsCount() const;
150
151 MCAPI uint64 $getHighPerformanceThreadsCount() const;
152
153 MCAPI void $initializeGraphicsDeviceTier();
154
155 MCAPI ::Core::PathBuffer<::std::string> $getPlatformTempPath() const;
156
157 MCFOLD ::Core::PathBuffer<::std::string> $copyImportFileToTempFolder(::Core::Path const& filePath);
158
159 MCAPI uint64 $calculateAvailableDiskFreeSpace(::Core::Path const& rootPath);
160
161 MCFOLD bool $allowContentLogWriteToDisk();
162
163 MCFOLD bool $devHotReloadRenderResources() const;
164
165 MCAPI void $queueForMainThread_DEPRECATED(::std::function<void()> callback);
166
167 MCAPI ::MPMCQueue<::std::function<void()>>& $getMainThreadQueue();
168
169 MCFOLD bool $canAppSelfTerminate() const;
170
171 MCFOLD bool $getPlatformTTSExists() const;
172
173 MCAPI bool $getPlatformTTSEnabled() const;
174
175 MCAPI void $registerExperimentsActiveCrashDump(::std::vector<::std::string> const& activeExperiments) const;
176
177 MCAPI bool $is24HourTimeFormat() const;
178
179 MCFOLD ::Core::PathBuffer<::std::string> $_getCurrentStoragePath() const;
180
181 MCFOLD ::Core::PathBuffer<::std::string> $_getExternalStoragePath() const;
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 MCFOLD void $collectGraphicsHardwareDetails();
195
196 MCFOLD bool $supportsMSAA() const;
197
198 MCFOLD bool $supportsAlbumExport() const;
199
200 MCFOLD 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:17
MCAPI void $dtor()
Definition PDFWriter.h:11
Definition Alias.h:14