workmode

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func NewController

func NewController() *Controller

func (*Controller) ContestChanged added in v0.12.0

func (c *Controller) ContestChanged(contest core.Contest)

func (*Controller) Notify added in v0.5.0

func (c *Controller) Notify(listener any)

func (*Controller) QSOAdded added in v1.1.0

func (c *Controller) QSOAdded(qso core.QSO)

func (*Controller) SetView

func (c *Controller) SetView(view View)

func (*Controller) SetWorkmode

func (c *Controller) SetWorkmode(workmode core.Workmode)

func (*Controller) Workmode added in v0.6.0

func (c *Controller) Workmode() core.Workmode

type View

type View interface {
	SetWorkmode(core.Workmode)
	SetOperationModeHint(hint string)
}

View represents the visual part of the workmode handling.

type WorkmodeChangedListener added in v0.5.0

type WorkmodeChangedListener interface {
	WorkmodeChanged(workmode core.Workmode)
}

type WorkmodeChangedListenerFunc added in v0.5.0

type WorkmodeChangedListenerFunc func(workmode core.Workmode)

func (WorkmodeChangedListenerFunc) WorkmodeChanged added in v0.5.0

func (f WorkmodeChangedListenerFunc) WorkmodeChanged(workmode core.Workmode)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL