profile

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	Name           string `xml:"name,attr"`
	Keyboard       string `xml:"keyboard,attr"`
	Label          string `xml:"UILabel,attr"`
	Description    string `xml:"UIDescription,attr"`
	ActivationMode string `xml:"activationMode,attr"`
}

type ActionInfo

type ActionInfo struct {
	Group
	Action
}

type Actions

type Actions []ActionInfo

func Decode

func Decode(data []byte) (Actions, error)

func DecodeFile

func DecodeFile(name string) (Actions, error)

func (Actions) Lookup

func (a Actions) Lookup(ai ActionInfo) (ActionInfo, bool)

type Group

type Group struct {
	Name     string `xml:"name,attr"`
	Version  string `xml:"version,attr"`
	Label    string `xml:"UILabel,attr"`
	Category string `xml:"UICategory,attr"`
}

Jump to

Keyboard shortcuts

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