import Foundation // AppControl is the interface for the menu bar item and the settings window. // AppDelegate implements AppControl. The protocol keeps the UI modules // independent from the concrete controllers. @MainActor protocol AppControl: AnyObject { var isPaused: Bool { get } func togglePause() var constrainWindows: Bool { get } func setConstrainWindows(_ on: Bool) func dumpWindowsToLog() func copyWindowDump() func openSettings() }