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