mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Fix: Migrations
This commit is contained in:
parent
471fb6723e
commit
be152c1531
41 changed files with 2373 additions and 1321 deletions
|
|
@ -6,16 +6,19 @@
|
|||
//
|
||||
|
||||
import Foundation
|
||||
import AppKit
|
||||
import Combine
|
||||
|
||||
protocol MediaControllerProtocol: ObservableObject {
|
||||
var playbackStatePublisher: Published<PlaybackState>.Publisher { get }
|
||||
func play()
|
||||
func pause()
|
||||
func seek(to time: Double)
|
||||
func nextTrack()
|
||||
func previousTrack()
|
||||
func togglePlay()
|
||||
var playbackStatePublisher: AnyPublisher<PlaybackState, Never> { get }
|
||||
var isWorking: Bool { get }
|
||||
func play() async
|
||||
func pause() async
|
||||
func seek(to time: Double) async
|
||||
func nextTrack() async
|
||||
func previousTrack() async
|
||||
func togglePlay() async
|
||||
func toggleShuffle() async
|
||||
func toggleRepeat() async
|
||||
func isActive() -> Bool
|
||||
func updatePlaybackInfo()
|
||||
func updatePlaybackInfo() async
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue