update clipboard WS.

This commit is contained in:
Miroslav Šedivý
2020-11-30 17:40:38 +01:00
parent 2c210f3cf1
commit e93d167be6
6 changed files with 27 additions and 27 deletions

View File

@ -22,7 +22,6 @@ const (
CONTROL_LOCKED = "control/locked" // TODO: Remove.
CONTROL_REQUESTING = "control/requesting" // TODO: Remove.
CONTROL_GIVE = "control/give" // TODO: Remove.
CONTROL_CLIPBOARD = "control/clipboard" // TODO: Remove.
CONTROL_KEYBOARD = "control/keyboard" // TODO: Remove.
CONTROL_HOST = "control/host" // TODO: New.
CONTROL_RELEASE = "control/release"
@ -42,8 +41,8 @@ const (
)
const (
CLIPBOARD_UPDATED = "clipboard/updated" // TODO: New.
CLIPBOARD_SET = "clipboard/set" // TODO: New.
CLIPBOARD_UPDATED = "clipboard/updated"
CLIPBOARD_SET = "clipboard/set"
)
const (

View File

@ -93,7 +93,6 @@ type ScreenSize struct {
}
// Clipboard
// TODO: New.
type ClipboardData struct {
Event string `json:"event,omitempty"`
Text string `json:"text"`
@ -153,12 +152,6 @@ type MemberDisconnected struct {
ID string `json:"id"`
}
// TODO: Remove.
type Clipboard struct {
Event string `json:"event"`
Text string `json:"text"`
}
// TODO: Remove.
type Keyboard struct {
Event string `json:"event"`