iOS milestone 4 groundwork: bespoke editor registry and data sources

Device editors ask BespokeEditors for headers, whole bodies, drawings and card
actions; DeviceDataSource gives them DSP data and hidden settings, backed by app
slots (SlotDataSource) or AUs (AUDataSource, hidden values in SizzleDeviceAU).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Reactorcoremeltdown
2026-11-16 09:47:25 +01:00
co-authored by Claude Opus 5.5
parent 42f66534bf
commit 3b035d6a7d
21 changed files with 251 additions and 4 deletions
+12
View File
@@ -0,0 +1,12 @@
// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown
// SPDX-License-Identifier: GPL-3.0-or-later
import Foundation
/// DeviceDataSource for an AUv3 (the plugin extension, the device lab). Each
/// device's Bespoke file adds what it supports in an extension of this class.
@MainActor
final class AUDataSource: DeviceDataSource {
let au: SizzleDeviceAU
init(au: SizzleDeviceAU) { self.au = au }
}