Build on windows

This commit is contained in:
Dmitrii Okunev
2024-10-24 13:58:02 +01:00
parent 45b0f8a0bb
commit 3913d743f4
5 changed files with 50 additions and 30 deletions

View File

@@ -5,18 +5,21 @@ package windowmanagerhandler
import (
"context"
"fmt"
)
type PlatformSpecificWindowManagerHandler struct{}
type WindowID struct{}
type PID struct{}
type UID struct{}
type WindowID uint64
type PID uint64
type UID uint64
func (wmh *WindowManagerHandler) init(context.Context) error {
return fmt.Errorf("the support of window manager handler for this platform is not implemented, yet")
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
}