mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Merge pull request #76856 from HolonProduction/macos-specific
Don't expose macOS and iOS specific display servers.
This commit is contained in:
commit
a1db628eb3
@ -39,6 +39,8 @@ class RenderingDeviceVulkan;
|
||||
#endif
|
||||
|
||||
class DisplayServerAndroid : public DisplayServer {
|
||||
// No need to register with GDCLASS, it's platform-specific and nothing is added.
|
||||
|
||||
String rendering_driver;
|
||||
|
||||
// https://developer.android.com/reference/android/view/PointerIcon
|
||||
|
@ -55,7 +55,7 @@
|
||||
#import <QuartzCore/CAMetalLayer.h>
|
||||
|
||||
class DisplayServerIOS : public DisplayServer {
|
||||
GDCLASS(DisplayServerIOS, DisplayServer)
|
||||
// No need to register with GDCLASS, it's platform-specific and nothing is added.
|
||||
|
||||
_THREAD_SAFE_CLASS_
|
||||
|
||||
|
@ -119,8 +119,7 @@ typedef struct _xrr_monitor_info {
|
||||
#undef CursorShape
|
||||
|
||||
class DisplayServerX11 : public DisplayServer {
|
||||
//No need to register, it's platform-specific and nothing is added
|
||||
//GDCLASS(DisplayServerX11, DisplayServer)
|
||||
// No need to register with GDCLASS, it's platform-specific and nothing is added.
|
||||
|
||||
_THREAD_SAFE_CLASS_
|
||||
|
||||
|
@ -56,7 +56,7 @@
|
||||
#undef CursorShape
|
||||
|
||||
class DisplayServerMacOS : public DisplayServer {
|
||||
GDCLASS(DisplayServerMacOS, DisplayServer)
|
||||
// No need to register with GDCLASS, it's platform-specific and nothing is added.
|
||||
|
||||
_THREAD_SAFE_CLASS_
|
||||
|
||||
|
@ -37,6 +37,8 @@
|
||||
#include <emscripten/html5.h>
|
||||
|
||||
class DisplayServerWeb : public DisplayServer {
|
||||
// No need to register with GDCLASS, it's platform-specific and nothing is added.
|
||||
|
||||
private:
|
||||
struct JSTouchEvent {
|
||||
uint32_t identifier[32] = { 0 };
|
||||
|
@ -280,8 +280,7 @@ typedef struct {
|
||||
} ICONDIR, *LPICONDIR;
|
||||
|
||||
class DisplayServerWindows : public DisplayServer {
|
||||
//No need to register, it's platform-specific and nothing is added
|
||||
//GDCLASS(DisplayServerWindows, DisplayServer)
|
||||
// No need to register with GDCLASS, it's platform-specific and nothing is added.
|
||||
|
||||
_THREAD_SAFE_CLASS_
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user