// LyrebirdUILinuxExports.swift // Lyrebird // // Copyright (c) 2026 Joshua Parmenter / realizedsound // SPDX-License-Identifier: MIT // Re-exports so downstream Linux app / synth code needs only // `import LyrebirdUILinux` to get the SwiftOpenUI View DSL *and* the GTK4 // backend's `DrawingContext` drawing methods (setColor/arc/moveTo/stroke), // which live as extensions in `BackendGTK4` rather than SwiftOpenUI's core. // // This mirrors how, on Apple platforms, importing a UI umbrella brings the // underlying toolkit along — the goal is one platform `#if` at the import site // (`import LyrebirdUI` vs `import LyrebirdUILinux`) and identical body code // beneath it, since both bind the same core `@UIParam` / `UIParamNode` model. // // Both modules are guaranteed present inside this target: `Package.swift` only // appends `LyrebirdUILinux` together with its `SwiftOpenUI` + `BackendGTK4` // dependencies (Linux, `LYREBIRD_ENABLE_LINUX_UI=1`), so no `canImport` guard // is needed here. #if !canImport(SwiftUI) @_exported import SwiftOpenUI @_exported import BackendGTK4 #endif