File: screenshooter.go

package info (click to toggle)
golang-github-dkolbly-wl 0.0~git20180220.b06f57e-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 336 kB
  • sloc: makefile: 3
file content (24 lines) | stat: -rw-r--r-- 542 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package wl

const (
	_WESTON_SCREENSHOOTER_SHOOT = 0
)

type WestonScreenshooter struct {
	BaseProxy
	DoneChan chan WestonScreenshooterDoneEvent
}

type WestonScreenshooterDoneEvent struct {
}

func NewWestonScreenshooter(conn *Context) *WestonScreenshooter {
	ret := new(WestonScreenshooter)
	ret.DoneChan = make(chan WestonScreenshooterDoneEvent)
	conn.Register(ret)
	return ret
}

func (p *WestonScreenshooter) Shoot(output *Output, buffer *Buffer) error {
	return p.Context().SendRequest(p, _WESTON_SCREENSHOOTER_SHOOT, output, buffer)
}