From fd04998a5a905c18b02ed6a2810290cc09e387b9 Mon Sep 17 00:00:00 2001 From: Drew Weymouth Date: Thu, 16 Jan 2025 18:42:03 -0800 Subject: [PATCH] add missed stubs --- backend/smtc_unsupported.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/backend/smtc_unsupported.go b/backend/smtc_unsupported.go index 6a19e8d..18cf09e 100644 --- a/backend/smtc_unsupported.go +++ b/backend/smtc_unsupported.go @@ -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)) {}