2017-06-26 13:20:39 +03:00
|
|
|
package vnc
|
|
|
|
|
|
|
|
// DesktopSizePseudoEncoding represents a desktop size message from the server.
|
|
|
|
type DesktopSizePseudoEncoding struct{}
|
|
|
|
|
2017-07-14 02:01:24 +03:00
|
|
|
func (*DesktopSizePseudoEncoding) Supported(Conn) bool {
|
|
|
|
return true
|
|
|
|
}
|
|
|
|
|
2017-06-26 13:20:39 +03:00
|
|
|
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
|
|
|
|
}
|