score

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

type Counter struct {
	core.Score
	// contains filtered or unexported fields
}

func NewCounter

func NewCounter() *Counter

func (*Counter) Add

func (c *Counter) Add(qso core.QSO)

func (*Counter) Clear

func (c *Counter) Clear()

func (*Counter) Hide

func (c *Counter) Hide()

func (*Counter) Notify

func (c *Counter) Notify(listener interface{})

func (*Counter) SetMyPrefix

func (c *Counter) SetMyPrefix(myPrefix dxcc.Prefix)

func (*Counter) SetView

func (c *Counter) SetView(view View)

func (*Counter) Show

func (c *Counter) Show()

func (*Counter) Update

func (c *Counter) Update(oldQSO, newQSO core.QSO)

type ScoreUpdatedListener

type ScoreUpdatedListener interface {
	ScoreUpdated(core.Score)
}

type ScoreUpdatedListenerFunc

type ScoreUpdatedListenerFunc func(core.Score)

func (ScoreUpdatedListenerFunc) ScoreUpdated

func (f ScoreUpdatedListenerFunc) ScoreUpdated(Score core.Score)

type View

type View interface {
	Show()
	Hide()
	Visible() bool

	ShowScore(score core.Score)
}

Jump to

Keyboard shortcuts

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