LeviLamina
Loading...
Searching...
No Matches
CommonPlatform.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/platform/DisplayOrientation.h"
7#include "mc/deps/core/platform/FileStorageDirectory.h"
8#include "mc/platform/brstd/move_only_function.h"
9
10// auto generated forward declare list
11// clang-format off
12class ActivationUri;
13class IMinecraftGame;
14class PropertyBag;
16namespace Bedrock { class ActivationArguments; }
17// clang-format on
18
19namespace Bedrock {
20
22public:
23 // member variables
24 // NOLINTBEGIN
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
37 CommonPlatform& operator=(CommonPlatform const&);
40
41public:
42 // virtual functions
43 // NOLINTBEGIN
44 // vIndex: 0
45 virtual ~CommonPlatform() = default;
46
47 // vIndex: 1
48 virtual bool updatePlatformInfo() = 0;
49
50 // vIndex: 2
51 virtual bool updatePlatformGraphicsInfo() = 0;
52
53 // vIndex: 3
54 virtual void issueShutdown();
55
56 // vIndex: 4
57 virtual void issueSuspend();
58
59 // vIndex: 5
60 virtual void issueResume();
61
62 // vIndex: 6
63 virtual void issueBack();
64
65 // vIndex: 7
66 virtual void issueLowMemory();
67
68 // vIndex: 8
69 virtual void issueFocusLost();
70
71 // vIndex: 9
72 virtual void issueFocusGained();
73
74 // vIndex: 10
75 virtual void issueInputPaneVisible();
76
77 // vIndex: 11
78 virtual void issueInputPaneHidden();
79
80 // vIndex: 12
81 virtual void issueSuspendWarning();
82
83 // vIndex: 13
84 virtual void issueVisibilityChange(bool);
85
86 // vIndex: 14
87 virtual void issueWindowSizeChange(int, int);
88
89 // vIndex: 15
90 virtual void issueDPIChange(float);
91
92 // vIndex: 16
93 virtual void issueOrientationChange(::DisplayOrientation const&);
94
95 // vIndex: 17
96 virtual void feedButtonPress(int const&);
97
98 // vIndex: 18
99 virtual void feedKeyPress(char const);
100
101 // vIndex: 19
102 virtual void setTextboxText(::std::string const&);
103
104 // vIndex: 20
105 virtual void setStorageDirectory(::FileStorageDirectory, bool, ::PropertyBag const&, ::std::function<void(bool)>);
106
107 // vIndex: 21
108 virtual ::FileStorageDirectory setInitialStorageDirectory(::FileStorageDirectory);
109
110 // vIndex: 22
111 virtual ::FileStorageDirectory getStorageDirectory() const;
112
113 // vIndex: 23
114 virtual bool _preAppCreation(::Bedrock::ActivationArguments const&) = 0;
115
116 // vIndex: 24
117 virtual bool _postAppCreation(::Bedrock::ActivationArguments const&) = 0;
118
119 // vIndex: 25
120 virtual void _processActivationArguments(::Bedrock::ActivationArguments const&) = 0;
121
122 // vIndex: 26
123 virtual bool _update(bool) = 0;
124
125 // vIndex: 27
126 virtual bool _isShuttingDown() = 0;
127
128 // vIndex: 28
129 virtual bool _isShutdown() = 0;
130
131 // vIndex: 29
132 virtual void pushNotificationReceived_Shim(::PushNotificationMessage const&) = 0;
133
134 // vIndex: 30
135 virtual void notifyUriListeners_Shim(::ActivationUri const&) = 0;
136
137 // vIndex: 31
138 virtual ::std::string getDeviceId_Shim() const = 0;
139 // NOLINTEND
140
141public:
142 // virtual function thunks
143 // NOLINTBEGIN
144
145 // NOLINTEND
146};
147
148} // namespace Bedrock
Definition ActivationUri.h:5
Definition ActivationArguments.h:7
Definition CommonPlatform.h:21
Definition IMinecraftGame.h:169
Definition PropertyBag.h:8
Definition PushNotificationMessage.h:5
Definition Alias.h:14