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
13class PDFWriter;
14namespace Core { class Path; }
15// clang-format on
16
17class AppPlatformWindows : public ::AppPlatform {
18public:
19 // member variables
20 // 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 bool isTablet() const /*override*/;
75
76 virtual double getTimeSFromProcessStart() const /*override*/;
77
78#endif
79 virtual bool canAppSelfTerminate() const /*override*/;
80
81 virtual bool getPlatformTTSExists() const /*override*/;
82
83 virtual bool getPlatformTTSEnabled() const /*override*/;
84
85 virtual void registerExperimentsActiveCrashDump(::std::vector<::std::string> const& activeExperiments) const
86 /*override*/;
87
88#ifdef LL_PLAT_C
89 virtual void showXboxLiveUserSettings() /*override*/;
90
91#endif
92 virtual bool is24HourTimeFormat() const /*override*/;
93
94 virtual ::Core::PathBuffer<::std::string> _getCurrentStoragePath() const /*override*/;
95
96 virtual ::Core::PathBuffer<::std::string> _getExternalStoragePath() const /*override*/;
97
98 virtual ::Core::PathBuffer<::std::string> _getInternalStoragePath() const /*override*/;
99
100 virtual ::Core::PathBuffer<::std::string> _getUserdataPath() const /*override*/;
101
102 virtual ::Core::PathBuffer<::std::string> _getSharedDataPath() const /*override*/;
103
104 virtual ::Core::PathBuffer<::std::string> getPackagedShaderCachePath() /*override*/;
105 // NOLINTEND
106
107public:
108 // member functions
109 // NOLINTBEGIN
110#ifdef LL_PLAT_C
111 MCAPI explicit AppPlatformWindows(::std::unique_ptr<::IAppPlatformImpl> impl);
112#endif
113
114 MCAPI uint64 _findHighPerformanceThreadsCount() const;
115 // NOLINTEND
116
117public:
118 // static variables
119 // NOLINTBEGIN
120 MCAPI static ::std::string const& EXPERIMENTS_ACTIVE_KEY();
121 // NOLINTEND
122
123public:
124 // constructor thunks
125 // NOLINTBEGIN
126#ifdef LL_PLAT_C
127 MCAPI void* $ctor(::std::unique_ptr<::IAppPlatformImpl> impl);
128#endif
129 // NOLINTEND
130
131public:
132 // virtual function thunks
133 // NOLINTBEGIN
134 MCAPI uint64 $getTotalHardwareThreadsCount() const;
135
136 MCAPI uint64 $getHighPerformanceThreadsCount() const;
137
138 MCAPI void $initializeGraphicsDeviceTier();
139
140 MCAPI ::Core::PathBuffer<::std::string> $getPlatformTempPath() const;
141
142 MCFOLD ::Core::PathBuffer<::std::string> $copyImportFileToTempFolder(::Core::Path const& filePath);
143
144 MCAPI uint64 $calculateAvailableDiskFreeSpace(::Core::Path const& rootPath);
145
146 MCFOLD bool $allowContentLogWriteToDisk();
147
148 MCFOLD bool $devHotReloadRenderResources() const;
149
150 MCAPI void $queueForMainThread_DEPRECATED(::std::function<void()> callback);
151
152 MCAPI ::MPMCQueue<::std::function<void()>>& $getMainThreadQueue();
153
154 MCFOLD bool $canAppSelfTerminate() const;
155
156 MCFOLD bool $getPlatformTTSExists() const;
157
158 MCAPI bool $getPlatformTTSEnabled() const;
159
160 MCAPI void $registerExperimentsActiveCrashDump(::std::vector<::std::string> const& activeExperiments) const;
161
162 MCAPI bool $is24HourTimeFormat() const;
163
164 MCFOLD ::Core::PathBuffer<::std::string> $_getCurrentStoragePath() const;
165
166 MCFOLD ::Core::PathBuffer<::std::string> $_getExternalStoragePath() const;
167
168 MCAPI ::Core::PathBuffer<::std::string> $_getInternalStoragePath() const;
169
170#ifdef LL_PLAT_S
171 MCAPI ::Core::PathBuffer<::std::string> $_getUserdataPath() const;
172#else // LL_PLAT_C
173 MCFOLD ::Core::PathBuffer<::std::string> $_getUserdataPath() const;
174#endif
175
176 MCAPI ::Core::PathBuffer<::std::string> $_getSharedDataPath() 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 MCFOLD bool $isTablet() const;
194
195 MCAPI double $getTimeSFromProcessStart() const;
196
197 MCAPI void $showXboxLiveUserSettings();
198#endif
199
200
201 // NOLINTEND
202
203public:
204 // vftables
205 // NOLINTBEGIN
206 MCNAPI static void** $vftableForIAppPlatform();
207
209 // NOLINTEND
210};
static MCAPI void ** $vftableForISecureStorageKeySystem()
static MCAPI void ** $vftableForIAppPlatform()
Definition Path.h:11
Definition IAppPlatformImpl.h:13
Definition PDFWriter.h:11
Definition Alias.h:14