dialog

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: Zlib Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DriveImages [0x100]struct {
	Name string
	Fp   File
}

Functions

func AskToQuit

func AskToQuit() bool

func EjectFloppy

func EjectFloppy() error
func MainMenu() error
func MainMenuWasOpen() bool

func MountFloppyImage

func MountFloppyImage(file string) error

func OpenManual

func OpenManual() error

func OpenURL

func OpenURL(url string) error

func Quit

func Quit()

func RestartRequested

func RestartRequested() bool

func ShowErrorMessage

func ShowErrorMessage(msg string) error

func ShutdownRequested

func ShutdownRequested() bool

func WindowsInstallNpcap

func WindowsInstallNpcap()

Types

type DiskController

type DiskController interface {
	Eject(dnum byte) (io.ReadWriteSeeker, error)
	Replace(dnum byte, disk io.ReadWriteSeeker) error
}
var (
	OpenFileFunc     func(name string, flag int, perm os.FileMode) (File, error)
	FloppyController DiskController
)

type File

type File interface {
	io.ReadWriteSeeker
	io.ReaderAt
	io.Closer
}

Jump to

Keyboard shortcuts

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