b6fdee8bfc
Consolidated release: the cross-platform Linux port (engine, generators, CLI, REPL, NRT, portable DSP), live ALSA audio + ALSA MIDI + POSIX OSC + portable WAV codec, the GTK4 GUI (LyrebirdUI on the SwiftOpenUI backend), and the Linux live-coding scratchpad (LiveCompile). Apple platforms unchanged; all additive. See RELEASES.md and LINUX_README.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
17 lines
722 B
Swift
17 lines
722 B
Swift
// LyrebirdUIExports.swift
|
|
// Lyrebird
|
|
//
|
|
// Copyright (c) 2026 Joshua Parmenter / realizedsound
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
#if canImport(SwiftUI)
|
|
// Re-export SwiftUI so downstream Apple app / synth code needs only
|
|
// `import LyrebirdUI` to get both the Lyrebird controls and the SwiftUI View
|
|
// DSL they build on. The Linux counterpart is `LyrebirdUILinuxExports.swift`
|
|
// in this same module (guarded `#if !canImport(SwiftUI)`), which re-exports
|
|
// SwiftOpenUI + BackendGTK4. Downstream code writes one `import LyrebirdUI` on
|
|
// every platform; the control bodies switch backend by `#if canImport(SwiftUI)`
|
|
// beneath, both binding the same core `@UIParam` / `UIParamNode` model.
|
|
@_exported import SwiftUI
|
|
#endif
|