LeviLamina
Loading...
Searching...
No Matches
AppPlatform_win32.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/application/OsVersion.h"
7#include "mc/deps/core/file/PathBuffer.h"
8#include "mc/deps/core/platform/BuildPlatform.h"
9#include "mc/deps/core/platform/FullscreenMode.h"
10#include "mc/deps/core/platform/PlatformType.h"
11#include "mc/deps/core/platform/UIScalingRules.h"
12#include "mc/win/AppPlatformWindows.h"
13
14// auto generated forward declare list
15// clang-format off
16class HIDController;
17class SecureStorage;
20struct OSInformation;
21namespace Core { class Path; }
22namespace Webview { class PlatformArguments; }
23// clang-format on
24
26public:
27 // member variables
28 // NOLINTBEGIN
41 // NOLINTEND
42
43public:
44 // prevent constructor by default
45 AppPlatform_win32& operator=(AppPlatform_win32 const&);
48
49public:
50 // virtual functions
51 // NOLINTBEGIN
52 // vIndex: 0
53 virtual ~AppPlatform_win32() /*override*/;
54
55 // vIndex: 98
56 virtual ::std::string readAssetFile(::Core::Path const& filename) /*override*/;
57
58 // vIndex: 97
59 virtual ::Core::PathBuffer<::std::string> getAssetFileFullPath(::Core::Path const& filename) /*override*/;
60
61 // vIndex: 101
62 virtual ::std::set<::Core::PathBuffer<::std::string>>
63 listAssetFilesIn(::Core::Path const& path, ::std::string const& extension) const /*override*/;
64
65 // vIndex: 65
66 virtual ::Core::PathBuffer<::std::string> copyImportFileToTempFolder(::Core::Path const& filePath) /*override*/;
67
68 // vIndex: 117
69 virtual bool canLaunchUri(::std::string const& uri) /*override*/;
70
71 // vIndex: 118
72 virtual void launchUri(::std::string const& uri) /*override*/;
73
74 // vIndex: 30
75 virtual ::Core::PathBuffer<::std::string> getPackagePath() const /*override*/;
76
77 // vIndex: 2
78 virtual ::Core::PathBuffer<::std::string> getLoggingPath() const /*override*/;
79
80 // vIndex: 159
81 virtual ::std::string getEdition() const /*override*/;
82
83 // vIndex: 160
84 virtual ::OsVersion getOSVersion() const /*override*/;
85
86 // vIndex: 95
87 virtual bool supportsVibration() const /*override*/;
88
89 // vIndex: 177
90 virtual bool supportsFliteTTS() const /*override*/;
91
92 // vIndex: 68
93 virtual int getScreenWidth() const /*override*/;
94
95 // vIndex: 69
96 virtual int getScreenHeight() const /*override*/;
97
98 // vIndex: 70
99 virtual int getDisplayWidth() /*override*/;
100
101 // vIndex: 71
102 virtual int getDisplayHeight() /*override*/;
103
104 // vIndex: 72
105 virtual void setScreenSize(int width, int height) /*override*/;
106
107 // vIndex: 73
108 virtual void setWindowSize(int width, int height) /*override*/;
109
110 // vIndex: 74
111 virtual void setWindowText(::std::string const& title) /*override*/;
112
113 // vIndex: 91
114 virtual ::std::string getTextBoxBackend() const /*override*/;
115
116 // vIndex: 92
117 virtual void setTextBoxBackend(::std::string const& newText) /*override*/;
118
119 // vIndex: 93
120 virtual int getCaretPosition() const /*override*/;
121
122 // vIndex: 94
123 virtual void setCaretPosition(int position) /*override*/;
124
125 // vIndex: 105
126 virtual bool hasBuyButtonWhenInvalidLicense() /*override*/;
127
128 // vIndex: 136
129 virtual ::std::string getApplicationId() const /*override*/;
130
131 // vIndex: 122
132 virtual bool isCentennial() const /*override*/;
133
134 // vIndex: 123
135 virtual ::std::string getPackageFamilyName() const /*override*/;
136
137 // vIndex: 121
138 virtual ::PlatformType getPlatformType() const /*override*/;
139
140 // vIndex: 16
141 virtual ::BuildPlatform getBuildPlatform() const /*override*/;
142
143 // vIndex: 178
144 virtual ::std::unique_ptr<::SecureStorage> getSecureStorage() /*override*/;
145
146 // vIndex: 1
147 virtual ::SecureStorageKey getSecureStorageKey(::std::string const&) /*override*/;
148
149 // vIndex: 2
150 virtual void setSecureStorageKey(::std::string const&, ::SecureStorageKey const&) /*override*/;
151
152 // vIndex: 124
153 virtual ::std::string getPlatformString() const /*override*/;
154
155 // vIndex: 125
156 virtual ::std::string getSubPlatformString() const /*override*/;
157
158 // vIndex: 137
159 virtual uint64 getFreeMemory() const /*override*/;
160
161 // vIndex: 138
162 virtual uint64 getMemoryLimit() const /*override*/;
163
164 // vIndex: 139
165 virtual uint64 getUsedMemory() /*override*/;
166
167 // vIndex: 20
168 virtual uint64 getTotalPhysicalMemory() const /*override*/;
169
170 // vIndex: 152
171 virtual ::std::string getModelName() /*override*/;
172
173 // vIndex: 155
174 virtual void setFullscreenMode(::FullscreenMode const fullscreenMode) /*override*/;
175
176 // vIndex: 210
177 virtual bool isWebviewSupported() const /*override*/;
178
179 // vIndex: 211
180 virtual ::std::shared_ptr<::WebviewInterface> createWebview(::Webview::PlatformArguments&& args) const /*override*/;
181
182 // vIndex: 214
183 virtual bool getPlatformTTSEnabled() const /*override*/;
184
185 // vIndex: 215
186 virtual ::std::variant<::HWND__*, ::std::monostate> getRenderSurfaceParameters() const /*override*/;
187
188 // vIndex: 108
189 virtual ::std::optional<bool> isOnWifiConnectionTelemetryValue() /*override*/;
190
191 // vIndex: 36
192 virtual void hideSplashScreen() /*override*/;
193
194 // vIndex: 246
195 virtual int getPlatformDpi() const /*override*/;
196
197 // vIndex: 247
198 virtual ::UIScalingRules getPlatformUIScalingRules() const /*override*/;
199 // NOLINTEND
200
201public:
202 // member functions
203 // NOLINTBEGIN
205 ::HWND__* hWnd,
206 ::std::string const& dataFolder,
207 ::std::string_view,
208 ::std::shared_ptr<::HIDController> HIDControllerWinRT,
209 int screenWidth,
210 int screenHeight
211 );
212
213 MCNAPI ::OSInformation _fetchOSInformation() const;
214 // NOLINTEND
215
216public:
217 // constructor thunks
218 // NOLINTBEGIN
219 MCNAPI void* $ctor(
220 ::HWND__* hWnd,
221 ::std::string const& dataFolder,
222 ::std::string_view,
223 ::std::shared_ptr<::HIDController> HIDControllerWinRT,
224 int screenWidth,
225 int screenHeight
226 );
227 // NOLINTEND
228
229public:
230 // destructor thunk
231 // NOLINTBEGIN
232 MCNAPI void $dtor();
233 // NOLINTEND
234
235public:
236 // virtual function thunks
237 // NOLINTBEGIN
238 MCNAPI ::std::string $readAssetFile(::Core::Path const& filename);
239
240 MCNAPI ::Core::PathBuffer<::std::string> $getAssetFileFullPath(::Core::Path const& filename);
241
242 MCNAPI ::std::set<::Core::PathBuffer<::std::string>>
243 $listAssetFilesIn(::Core::Path const& path, ::std::string const& extension) const;
244
245 MCNAPI ::Core::PathBuffer<::std::string> $copyImportFileToTempFolder(::Core::Path const& filePath);
246
247 MCNAPI bool $canLaunchUri(::std::string const& uri);
248
249 MCNAPI void $launchUri(::std::string const& uri);
250
251 MCNAPI ::Core::PathBuffer<::std::string> $getPackagePath() const;
252
253 MCNAPI ::Core::PathBuffer<::std::string> $getLoggingPath() const;
254
255 MCNAPI ::std::string $getEdition() const;
256
257 MCNAPI ::OsVersion $getOSVersion() const;
258
259 MCNAPI bool $supportsVibration() const;
260
261 MCNAPI bool $supportsFliteTTS() const;
262
263 MCNAPI int $getScreenWidth() const;
264
265 MCNAPI int $getScreenHeight() const;
266
267 MCNAPI int $getDisplayWidth();
268
269 MCNAPI int $getDisplayHeight();
270
271 MCNAPI void $setScreenSize(int width, int height);
272
273 MCNAPI void $setWindowSize(int width, int height);
274
275 MCNAPI void $setWindowText(::std::string const& title);
276
277 MCNAPI ::std::string $getTextBoxBackend() const;
278
279 MCNAPI void $setTextBoxBackend(::std::string const& newText);
280
281 MCNAPI int $getCaretPosition() const;
282
283 MCNAPI void $setCaretPosition(int position);
284
286
287 MCNAPI ::std::string $getApplicationId() const;
288
289 MCNAPI bool $isCentennial() const;
290
291 MCNAPI ::std::string $getPackageFamilyName() const;
292
293 MCNAPI ::PlatformType $getPlatformType() const;
294
295 MCNAPI ::std::unique_ptr<::SecureStorage> $getSecureStorage();
296
297 MCNAPI ::SecureStorageKey $getSecureStorageKey(::std::string const&);
298
299 MCNAPI void $setSecureStorageKey(::std::string const&, ::SecureStorageKey const&);
300
301 MCNAPI ::std::string $getPlatformString() const;
302
303 MCNAPI ::std::string $getSubPlatformString() const;
304
305 MCNAPI uint64 $getFreeMemory() const;
306
307 MCNAPI uint64 $getMemoryLimit() const;
308
309 MCNAPI uint64 $getUsedMemory();
310
311 MCNAPI uint64 $getTotalPhysicalMemory() const;
312
313 MCNAPI ::std::string $getModelName();
314
315 MCNAPI void $setFullscreenMode(::FullscreenMode const fullscreenMode);
316
317 MCNAPI bool $isWebviewSupported() const;
318
319 MCNAPI ::std::shared_ptr<::WebviewInterface> $createWebview(::Webview::PlatformArguments&& args) const;
320
321 MCNAPI bool $getPlatformTTSEnabled() const;
322
323 MCNAPI ::std::variant<::HWND__*, ::std::monostate> $getRenderSurfaceParameters() const;
324
325 MCNAPI ::std::optional<bool> $isOnWifiConnectionTelemetryValue();
326
327 MCNAPI void $hideSplashScreen();
328
329 MCNAPI int $getPlatformDpi() const;
330
331 MCNAPI ::UIScalingRules $getPlatformUIScalingRules() const;
332 // NOLINTEND
333
334public:
335 // vftables
336 // NOLINTBEGIN
337 MCNAPI static void** $vftableForIAppPlatform();
338
340 // NOLINTEND
341};
Definition AppPlatformWindows.h:15
Definition AppPlatform_win32.h:25
MCAPI bool $hasBuyButtonWhenInvalidLicense()
MCAPI bool $canLaunchUri(::std::string const &uri)
MCAPI int $getDisplayWidth()
MCAPI void $setWindowText(::std::string const &title)
MCAPI void $dtor()
MCAPI::std::string $getPackageFamilyName() const
MCAPI bool $supportsVibration() const
MCAPI bool $isCentennial() const
MCAPI ::std::unique_ptr<::SecureStorage > $getSecureStorage()
MCAPI int $getScreenHeight() const
MCAPI::UIScalingRules $getPlatformUIScalingRules() const
MCAPI ::std::variant<::HWND__ *, ::std::monostate > $getRenderSurfaceParameters() const
MCAPI::OsVersion $getOSVersion() const
MCAPI int $getPlatformDpi() const
MCAPI uint64 $getFreeMemory() const
MCAPI void * $ctor(::HWND__ *hWnd, ::std::string const &dataFolder, ::std::string_view, ::std::shared_ptr<::HIDController > HIDControllerWinRT, int screenWidth, int screenHeight)
MCAPI void $setTextBoxBackend(::std::string const &newText)
MCAPI bool $getPlatformTTSEnabled() const
MCAPI ::Core::PathBuffer<::std::string > $copyImportFileToTempFolder(::Core::Path const &filePath)
MCAPI::std::string $getSubPlatformString() const
MCAPI void $setFullscreenMode(::FullscreenMode const fullscreenMode)
MCAPI AppPlatform_win32(::HWND__ *hWnd, ::std::string const &dataFolder, ::std::string_view, ::std::shared_ptr<::HIDController > HIDControllerWinRT, int screenWidth, int screenHeight)
MCAPI ::std::optional< bool > $isOnWifiConnectionTelemetryValue()
MCAPI uint64 $getMemoryLimit() const
MCAPI void $setScreenSize(int width, int height)
MCAPI::std::string $getTextBoxBackend() const
MCAPI ::std::shared_ptr<::WebviewInterface > $createWebview(::Webview::PlatformArguments &&args) const
MCAPI int $getCaretPosition() const
MCAPI::std::string $getEdition() const
MCAPI uint64 $getTotalPhysicalMemory() const
MCAPI::SecureStorageKey $getSecureStorageKey(::std::string const &)
MCAPI::std::string $getModelName()
MCAPI void $hideSplashScreen()
MCAPI void $setCaretPosition(int position)
MCAPI::std::string $getPlatformString() const
MCAPI::OSInformation _fetchOSInformation() const
MCAPI ::Core::PathBuffer<::std::string > $getAssetFileFullPath(::Core::Path const &filename)
MCAPI ::Core::PathBuffer<::std::string > $getLoggingPath() const
MCAPI::PlatformType $getPlatformType() const
MCAPI ::Core::PathBuffer<::std::string > $getPackagePath() const
MCAPI void $setWindowSize(int width, int height)
MCAPI void $launchUri(::std::string const &uri)
static MCAPI void ** $vftableForIAppPlatform()
MCAPI::std::string $readAssetFile(::Core::Path const &filename)
static MCAPI void ** $vftableForISecureStorageKeySystem()
MCAPI int $getDisplayHeight()
MCAPI ::std::set<::Core::PathBuffer<::std::string > > $listAssetFilesIn(::Core::Path const &path, ::std::string const &extension) const
MCAPI bool $isWebviewSupported() const
MCAPI::std::string $getApplicationId() const
MCAPI bool $supportsFliteTTS() const
MCAPI void $setSecureStorageKey(::std::string const &, ::SecureStorageKey const &)
MCAPI int $getScreenWidth() const
MCAPI uint64 $getUsedMemory()
Definition Path.h:17
Definition HIDController.h:5
Definition Path.h:16
Definition SecureStorageKey.h:5
Definition SecureStorage.h:5
Definition WebviewInterface.h:5
Definition PlatformArguments.h:7
Definition OSInformation.h:5
Definition Alias.h:14