Skip to content

Commit

Permalink
add missed stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
dweymouth committed Jan 17, 2025
1 parent 9fca298 commit fd04998
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions backend/smtc_unsupported.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ func InitSMTCForWindow(hwnd uintptr) (*SMTC, error) {
return nil, smtcUnsupportedErr
}

func (s *SMTC) SetEnabled(enabled bool) error {
return smtcUnsupportedErr
}

func (s *SMTC) SetThumbnail(filepath string) error {
return smtcUnsupportedErr
}

func (s *SMTC) OnButtonPressed(func(SMTCButton)) {}

func (s *SMTC) OnSeek(f func(millis int)) {}
Expand Down

0 comments on commit fd04998

Please sign in to comment.