control

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2013 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TurnScreenOff

func TurnScreenOff() error

Turns computer's screen off

func TurnScreenOn

func TurnScreenOn() error

Turns computer's screen on

Types

type Broadcast

type Broadcast interface {
	//Start function instructs handler application to
	//start playing the broadcast.
	Start() error
	//Kill kills the handler application
	//stopping the broadcast.
	Kill() error
	//Status returns boolean that specifies
	//whether the broadcast is currently running
	Status() bool
	//Path returns the location of the broadcast file
	Path() string
}

Interface Broadcast specifies a broadcast file with a handler application.

type PowerPointBroadcast

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

func NewPowerPoint

func NewPowerPoint(ppExe, presentation string) *PowerPointBroadcast

func (*PowerPointBroadcast) Kill

func (b *PowerPointBroadcast) Kill() error

Kill ends Terminate signal to PowerPoint.

func (PowerPointBroadcast) Path

func (b PowerPointBroadcast) Path() string

func (*PowerPointBroadcast) Start

func (b *PowerPointBroadcast) Start() error

Start starts PowerPoint in presentation mode.

func (PowerPointBroadcast) Status

func (b PowerPointBroadcast) Status() bool

Jump to

Keyboard shortcuts

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