mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Restored files from old Mac, force pushing
This commit is contained in:
parent
5dd95228b8
commit
5040381840
126 changed files with 10431 additions and 67 deletions
21
DynamicIsland/MediaControllers/MediaControllerProtocol.swift
Normal file
21
DynamicIsland/MediaControllers/MediaControllerProtocol.swift
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
//
|
||||
// MediaControllerProtocol.swift
|
||||
// boringNotch
|
||||
//
|
||||
// Created by Alexander Greco on 2025-03-29.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import AppKit
|
||||
|
||||
protocol MediaControllerProtocol: ObservableObject {
|
||||
var playbackStatePublisher: Published<PlaybackState>.Publisher { get }
|
||||
func play()
|
||||
func pause()
|
||||
func seek(to time: Double)
|
||||
func nextTrack()
|
||||
func previousTrack()
|
||||
func togglePlay()
|
||||
func isActive() -> Bool
|
||||
func updatePlaybackInfo()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue