Files
Vorleser-Kit/App/AppDelegate.swift

15 lines
564 B
Swift

import AppKit
/// Lifecycle glue: composition root (T5.2), Services provider (T6.4), hotkeys (T6.3).
final class AppDelegate: NSObject, NSApplicationDelegate {
func applicationDidFinishLaunching(_ notification: Notification) {
// T5.2: build AppEnvironment here.
// T6.4: NSApp.servicesProvider = servicesHandler; NSUpdateDynamicServices()
// T6.3: register KeyboardShortcuts handlers.
}
func applicationWillTerminate(_ notification: Notification) {
// T4.x: stop session, cancel synthesis, stop audio engine.
}
}