Files
epod-window-bar/Sources/App/AppControl.swift
Erhan Keseli 70d7ca5efe EPOD Window Bar: a window strip above the macOS Dock
EPOD Window Bar is a macOS agent app. It shows a thin strip above the Dock
with one tab per window of the frontmost application. One click raises the
window.

Build from source with XcodeGen and Xcode. Signing uses Config.xcconfig
(ad-hoc by default; a local Local.xcconfig can set a team ID). The app needs
Accessibility and Screen Recording permissions, and runs in a reduced mode
without Screen Recording.

See README.md and docs/ for details.
2026-11-21 21:41:06 +01:00

18 lines
475 B
Swift

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()
}