Vixen
02b45cc4
csharp
public sealed class LinuxPlatformSupplement

What Linux knows that SDL does not.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Two of the four are conditional, which is the difference between this supplement and the other two: on Windows and macOS the operating system ships the picker and the clipboard, and on Linux the desktop does. A session with neither zenity nor kdialog keeps the portable dialogs and does not report NativeDialogs, because reporting a capability the machine does not have is worse than not having it.

The other two are unconditional: sched_setaffinity is the kernel's and sysfs is mounted on anything that boots.

Fields and properties (1)

  • public string Name

    A name for logs and crash reports: "Windows", "macOS".

Methods (2)

  • public PlatformServices Augment(in PlatformServices baseline)

    Replaces what this operating system can do better, and keeps the rest.

  • public void Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Used by (1)

  • DesktopSupplementsVixen.Platform.Desktop