ipc

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2018 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fatal

func Fatal(err error)

Types

type IPC

type IPC struct {
	ShowGUI func() (uintptr, error)
	// contains filtered or unexported fields
}

func (*IPC) CopyFaviewValue

func (ipc *IPC) CopyFaviewValue(filePath, sliderName, name, value string) error

func (*IPC) ExportFaviewSlider

func (ipc *IPC) ExportFaviewSlider(filePath, sliderName string, names, values []string) error

func (*IPC) Image

func (ipc *IPC) Image(id int, filePath string) (*img.Image, int, StateKey, error)

func (*IPC) ImageList

func (ipc *IPC) ImageList() ([]string, StateKeys)

func (*IPC) Init

func (ipc *IPC) Init()

func (*IPC) Main

func (ipc *IPC) Main(exitCh chan<- struct{})

func (*IPC) SendEditingImageState

func (ipc *IPC) SendEditingImageState(filePath, state string) error

type StateKey

type StateKey struct {
	ID       int
	FilePath string
}

func (*StateKey) String

func (k *StateKey) String() string

type StateKeys

type StateKeys []StateKey

func (StateKeys) Len

func (a StateKeys) Len() int

func (StateKeys) Less

func (a StateKeys) Less(i, j int) bool

func (StateKeys) Swap

func (a StateKeys) Swap(i, j int)

Jump to

Keyboard shortcuts

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