// RigLibraryCommands.swift // Lyrebird // // Copyright (c) 2026 Joshua Parmenter / realizedsound // SPDX-License-Identifier: MIT import Foundation /// Notifications the macOS app shell posts from its menu bar so the in-window /// ``ShoeGazeBuilderView`` — which owns the current-rig state — performs the action with the /// correct UI (naming prompts, highlight updates). iOS has no menu bar and simply never posts them. public extension Notification.Name { /// Save the current rig to the library (overwrites the loaded entry, or prompts for a name). static let shoeGazeSaveRig: Notification.Name = Notification.Name("net.realizedsound.shoegaze.saveRig") /// Create a new, named, empty rig and make it current. static let shoeGazeNewRig: Notification.Name = Notification.Name("net.realizedsound.shoegaze.newRig") /// Load the set-list rig at a zero-based slot index (0…9, mapped to ⌘⇧1…⌘⇧0 on macOS). The /// slot index is posted as the notification's `object` (an `NSNumber`/`Int`). static let shoeGazeLoadRigSlot: Notification.Name = Notification.Name("net.realizedsound.shoegaze.loadRigSlot") }