Don't expose mac specific display server.

This commit is contained in:
HolonProduction 2023-05-08 20:32:56 +02:00
parent bd1bc68ba0
commit ddcb2d157d
6 changed files with 8 additions and 6 deletions

View File

@ -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

View File

@ -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_

View File

@ -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_

View File

@ -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_

View File

@ -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 };

View File

@ -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_