]> git.r.bdr.sh - rbdr/lyricli/blob - Sources/lyricli/sources/source_protocol.swift
8d52603667113ae28c08a3c7a390ed59d830bf72
[rbdr/lyricli] / Sources / lyricli / sources / source_protocol.swift
1 // All sources should comply with this protocol. The currentTrack computed
2 // property will return a track if the conditions are met
3 protocol Source {
4 var currentTrack: Track? { get }
5
6 func disable() -> Bool
7 func enable() -> Bool
8 func reset() -> Bool
9 }