mirror of
https://github.com/xaionaro-go/streamctl.git
synced 2025-10-23 23:44:11 +08:00
Fix errors on starting on Android
This commit is contained in:
25
pkg/windowmanagerhandler/window_manager_handler_android.go
Normal file
25
pkg/windowmanagerhandler/window_manager_handler_android.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user