Move GetDisplayServer to LinuxPlatform (add support for custom platform scripting api)

#2800
This commit is contained in:
Wojtek Figat
2026-02-12 09:24:11 +01:00
parent 3c5c6f9883
commit c4d20f06ee
12 changed files with 49 additions and 35 deletions

View File

@@ -294,11 +294,6 @@ PlatformType PlatformBase::GetPlatformType()
#if !PLATFORM_SDL
String PlatformBase::GetDisplayServer()
{
return String::Empty;
}
bool PlatformBase::SupportsNativeDecorations()
{
return true;

View File

@@ -369,11 +369,6 @@ public:
/// </summary>
API_PROPERTY() static PlatformType GetPlatformType();
/// <summary>
/// Returns the display server name on Linux.
/// </summary>
API_PROPERTY() static String GetDisplayServer();
/// <summary>
/// Returns true if system provides decorations for windows.
/// </summary>