// Generated API outline. Implementation bodies omitted.
#nullable enable
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using System.Threading;
using System;
using nfloat = System.Runtime.InteropServices.NFloat;
using static Xui.Core.Math2D.Constants;
namespace Xui.Core.Middleware
{
///
/// Represents a middleware-level window that bridges both the abstract UI model and the platform-specific window implementation.
///
///
/// This interface unifies and , enabling a single component to mediate input, rendering,
/// and lifecycle events between the platform and the UI framework. It is commonly used in emulators, testing layers, or composition hosts
/// that need to intercept and control both sides of the window stack.
///
public interface IWindow : Actual.IWindow, Abstract.IWindow
{
}
///
/// Provides traversal helpers for the abstract side of a composed window chain.
///
public static class WindowCompositionExtensions
{
///
/// Returns the first desktop style found from a native window's paired abstract
/// side towards the application window. Middleware can override the application
/// style by implementing itself.
///
public static Abstract.IWindow.IDesktopStyle? GetDesktopStyle(this Abstract.IWindow window);
///
/// Returns the first macOS window style found from a native window's paired
/// abstract side towards the application window. Middleware can override the
/// application style by implementing itself.
///
public static Abstract.IMacOSWindowStyle? GetMacOSWindowStyle(this Abstract.IWindow window);
}
}