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