Show current display server in Editor window tooltip

(cherry picked from commit 62968dd437)
This commit is contained in:
2025-02-02 18:34:47 +02:00
parent ed89597f5c
commit bdaa98c8ca
5 changed files with 30 additions and 1 deletions

View File

@@ -262,6 +262,15 @@ PlatformType PlatformBase::GetPlatformType()
return PLATFORM_TYPE;
}
#if !PLATFORM_SDL
String PlatformBase::GetDisplayServer()
{
return String::Empty;
}
#endif
bool PlatformBase::Is64BitApp()
{
#if PLATFORM_64BITS

View File

@@ -369,6 +369,11 @@ public:
/// </summary>
API_PROPERTY() static PlatformType GetPlatformType();
/// <summary>
/// Returns the display server name on Linux.
/// </summary>
API_PROPERTY() static String GetDisplayServer() = delete;
/// <summary>
/// Returns true if is running 64 bit application (otherwise 32 bit). It's compile-time constant.
/// </summary>