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
+3 -2
View File
@@ -98,7 +98,7 @@ au-test: build/core/au_test
# Mac snapshots of the SwiftUI device editors (AUAudioUnit and SwiftUI exist on
# macOS too): the AU classes + core as a dylib, the editor Swift on top.
EDITOR_SWIFT := $(wildcard app/FX/Editor/*.swift)
EDITOR_SWIFT := $(shell find app/FX/Editor -name '*.swift')
build/snapshots/libsizzlesnap.dylib: $(AU_SRC) app/tests/SnapshotComponents.mm $(CORE_SRC) $(CORE_HDR)
mkdir -p build/snapshots
$(CXX) $(CXXFLAGS) -Wno-deprecated-declarations -fobjc-arc -Iapp/FX -dynamiclib -install_name @rpath/libsizzlesnap.dylib \
@@ -116,7 +116,8 @@ SNAPDIR ?= build/screens
# Mac snapshots of the app's tabs with the demo song (SizzleSession runs on macOS
# too, without audio). Screens must stay SwiftUI-only (no UIKit) to render here.
SCREEN_SWIFT := $(EDITOR_SWIFT) app/Host/AppModel.swift app/Host/RootView.swift app/Host/SlotDeviceModel.swift \
app/Host/KeyboardView.swift $(shell find app/Host/Screens -name '*.swift')
app/Host/KeyboardView.swift app/Host/SlotDataSource.swift \
$(shell find app/Host/Screens app/Host/Bespoke -name '*.swift')
$(SNAPDIR)/libsizzlescreens.dylib: $(AU_SRC) $(wildcard app/Host/SizzleSession*.mm app/Host/SizzleSession*.h) app/tests/SnapshotComponents.mm $(CORE_SRC) $(CORE_HDR)
mkdir -p $(SNAPDIR)
$(CXX) $(CXXFLAGS) -Wno-deprecated-declarations -fobjc-arc -Iapp/FX -Iapp/Host -dynamiclib -install_name @rpath/libsizzlescreens.dylib \