Fix errors on starting on Android

This commit is contained in:
Dmitrii Okunev
2024-10-31 00:42:47 +00:00
parent a50b017c87
commit b67e27f0a8
6 changed files with 38 additions and 7 deletions

View File

@@ -0,0 +1,25 @@
//go:build android
// +build android
package windowmanagerhandler
import (
"context"
)
type PlatformSpecificWindowManagerHandler struct{}
type WindowID uint64
type PID uint64
type UID uint64
func (wmh *WindowManagerHandler) init() error {
return nil //fmt.Errorf("the support of window manager handler for this platform is not implemented, yet")
}
func (PlatformSpecificWindowManagerHandler) Close() error {
return nil
}
func (PlatformSpecificWindowManagerHandler) WindowFocusChangeChan(ctx context.Context) <-chan WindowFocusChange {
return nil
}