Skip to content
LeviMC
English
AutoLightDark
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 MCNAPI explicit AppPlatformWindows(::std::unique_ptr<::IAppPlatformImpl> impl);
112#endif
113
114 MCNAPI uint64 _findHighPerformanceThreadsCount() const;
115 // NOLINTEND
116
117public:
118 // static variables
119 // NOLINTBEGIN
120 MCNAPI static ::std::string const& EXPERIMENTS_ACTIVE_KEY();
121 // NOLINTEND
122
123public:
124 // constructor thunks
125 // NOLINTBEGIN
126#ifdef LL_PLAT_C
127 MCNAPI void* $ctor(::std::unique_ptr<::IAppPlatformImpl> impl);
128#endif
129 // NOLINTEND
130
131public:
132 // virtual function thunks
133 // NOLINTBEGIN
134 MCNAPI uint64 $getTotalHardwareThreadsCount() const;
135
136 MCNAPI uint64 $getHighPerformanceThreadsCount() const;
137
139
140 MCNAPI ::Core::PathBuffer<::std::string> $getPlatformTempPath() const;
141
142 MCNAPI ::Core::PathBuffer<::std::string> $copyImportFileToTempFolder(::Core::Path const& filePath);
143
144 MCNAPI uint64 $calculateAvailableDiskFreeSpace(::Core::Path const& rootPath);
145
147
148 MCNAPI bool $devHotReloadRenderResources() const;
149
150 MCNAPI void $queueForMainThread_DEPRECATED(::std::function<void()> callback);
151
152 MCNAPI ::MPMCQueue<::std::function<void()>>& $getMainThreadQueue();
153
154 MCNAPI bool $canAppSelfTerminate() const;
155
156 MCNAPI bool $getPlatformTTSExists() const;
157
158 MCNAPI bool $getPlatformTTSEnabled() const;
159
160 MCNAPI void $registerExperimentsActiveCrashDump(::std::vector<::std::string> const& activeExperiments) const;
161
162 MCNAPI bool $is24HourTimeFormat() const;
163
164 MCNAPI ::Core::PathBuffer<::std::string> $_getCurrentStoragePath() const;
165
166 MCNAPI ::Core::PathBuffer<::std::string> $_getExternalStoragePath() const;
167
168 MCNAPI ::Core::PathBuffer<::std::string> $_getInternalStoragePath() const;
169
170 MCNAPI ::Core::PathBuffer<::std::string> $_getUserdataPath() const;
171
172 MCNAPI ::Core::PathBuffer<::std::string> $_getSharedDataPath() const;
173
174 MCNAPI ::Core::PathBuffer<::std::string> $getPackagedShaderCachePath();
175
176#ifdef LL_PLAT_C
177 MCNAPI ::std::string $getSystemLocale() const;
178
180
181 MCNAPI bool $supportsMSAA() const;
182
183 MCNAPI bool $supportsAlbumExport() const;
184
185 MCNAPI bool $supportsPDFExport() const;
186
187 MCNAPI ::std::shared_ptr<::PDFWriter> $createPlatformPDFWriter();
188
189 MCNAPI bool $isTablet() const;
190
191 MCNAPI double $getTimeSFromProcessStart() const;
192
193 MCNAPI void $showXboxLiveUserSettings();
194#endif
195
196
197 // NOLINTEND
198
199public:
200 // vftables
201 // NOLINTBEGIN
202 MCNAPI static void** $vftableForIAppPlatform();
203
205 // NOLINTEND
206};
MCAPI bool $devHotReloadRenderResources() const
MCAPI bool $getPlatformTTSExists() const
MCAPI uint64 $getHighPerformanceThreadsCount() const
MCAPI void $queueForMainThread_DEPRECATED(::std::function< void()> callback)
MCAPI ::Core::PathBuffer<::std::string > $_getCurrentStoragePath() const
MCAPI bool $is24HourTimeFormat() const
MCAPI ::MPMCQueue<::std::function< void()> > & $getMainThreadQueue()
MCAPI uint64 $getTotalHardwareThreadsCount() const
static MCAPI void ** $vftableForISecureStorageKeySystem()
MCAPI ::Core::PathBuffer<::std::string > $copyImportFileToTempFolder(::Core::Path const &filePath)
static MCAPI ::std::string const & EXPERIMENTS_ACTIVE_KEY()
MCAPI bool $canAppSelfTerminate() const
MCAPI ::Core::PathBuffer<::std::string > $_getUserdataPath() const
MCAPI bool $allowContentLogWriteToDisk()
MCAPI void $initializeGraphicsDeviceTier()
MCAPI uint64 _findHighPerformanceThreadsCount() const
MCAPI ::Core::PathBuffer<::std::string > $_getInternalStoragePath() const
static MCAPI void ** $vftableForIAppPlatform()
MCAPI ::Core::PathBuffer<::std::string > $_getExternalStoragePath() const
MCAPI ::Core::PathBuffer<::std::string > $getPlatformTempPath() const
MCAPI ::Core::PathBuffer<::std::string > $getPackagedShaderCachePath()
MCAPI ::Core::PathBuffer<::std::string > $_getSharedDataPath() const
MCAPI uint64 $calculateAvailableDiskFreeSpace(::Core::Path const &rootPath)
MCAPI bool $getPlatformTTSEnabled() const
MCAPI void $registerExperimentsActiveCrashDump(::std::vector<::std::string > const &activeExperiments) const
MCAPI void * $ctor(::std::unique_ptr<::IAppPlatformImpl > impl, bool registerService)
MCAPI void $collectGraphicsHardwareDetails()
Definition Path.h:10
Definition IAppPlatformImpl.h:13
Definition PDFWriter.h:11
Definition Alias.h:14