1
0
mirror of https://github.com/amitbet/vnc2video.git synced 2025-05-01 03:53:24 +00:00
vnc2video/encoding_desktopsize.go
amit bezalel afc94572a3 name change now: vnc2video,
initial implementation for hextile, cursor
2018-01-12 04:56:55 +02:00

22 lines
605 B
Go

package vnc2video
// DesktopSizePseudoEncoding represents a desktop size message from the server.
type DesktopSizePseudoEncoding struct{}
func (*DesktopSizePseudoEncoding) Supported(Conn) bool {
return true
}
func (*DesktopSizePseudoEncoding) Reset() error {
return nil
}
func (*DesktopSizePseudoEncoding) Type() EncodingType { return EncDesktopSizePseudo }
// Read implements the Encoding interface.
func (*DesktopSizePseudoEncoding) Read(c Conn, rect *Rectangle) error {
return nil
}
func (enc *DesktopSizePseudoEncoding) Write(c Conn, rect *Rectangle) error {
return nil
}