New features
This commit is contained in:
parent
c67b43ab3c
commit
a9c6cdcd0f
16 changed files with 584 additions and 19 deletions
15
inputs/interfaces.go
Normal file
15
inputs/interfaces.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package inputs
|
||||
|
||||
import ()
|
||||
|
||||
var SoundInputs = map[string]SoundInput{}
|
||||
|
||||
type SoundInput interface {
|
||||
GetName() string
|
||||
IsActive() bool
|
||||
CurrentlyPlaying() *string
|
||||
}
|
||||
|
||||
type ControlableInput interface {
|
||||
TogglePause() error
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue