summaryrefslogtreecommitdiffstats
path: root/src/spice-client-gtk-manual.defs
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2015-06-05 17:44:47 +0200
committerMarc-André Lureau <marcandre.lureau@redhat.com>2015-06-08 17:38:58 +0200
commitcaf28401cac9ece5e314360f8a3a54479df59727 (patch)
tree7ada0451442ffa1d9d056500ebd878ad80da3e06 /src/spice-client-gtk-manual.defs
parent39c315241350dde3741c99fee4fff17b22d2b1fa (diff)
downloadspice-gtk-caf28401cac9ece5e314360f8a3a54479df59727.tar.gz
spice-gtk-caf28401cac9ece5e314360f8a3a54479df59727.tar.xz
spice-gtk-caf28401cac9ece5e314360f8a3a54479df59727.zip
Move gtk/ -> src/
For historical reasons, the code was placed under gtk/ subdirectory. If it was always bugging you, bug no more!
Diffstat (limited to 'src/spice-client-gtk-manual.defs')
-rw-r--r--src/spice-client-gtk-manual.defs117
1 files changed, 117 insertions, 0 deletions
diff --git a/src/spice-client-gtk-manual.defs b/src/spice-client-gtk-manual.defs
new file mode 100644
index 0000000..9631b74
--- /dev/null
+++ b/src/spice-client-gtk-manual.defs
@@ -0,0 +1,117 @@
+(define-method set_display
+ (of-object "SpiceMainChannel")
+ (c-name "spice_main_set_display")
+ (return-type "none")
+ (parameters
+ '("int" "id")
+ '("int" "x")
+ '("int" "y")
+ '("int" "width")
+ '("int" "height")
+ )
+)
+
+(define-method clipboard_grab
+ (of-object "SpiceMainChannel")
+ (c-name "spice_main_clipboard_grab")
+ (return-type "none")
+ (parameters
+ '("int*" "types")
+ '("int" "ntypes")
+ )
+)
+
+(define-method clipboard_release
+ (of-object "SpiceMainChannel")
+ (c-name "spice_main_clipboard_release")
+ (return-type "none")
+)
+
+(define-method motion
+ (of-object "SpiceInputsChannel")
+ (c-name "spice_inputs_motion")
+ (return-type "none")
+ (parameters
+ '("gint" "dx")
+ '("gint" "dy")
+ '("gint" "button_state")
+ )
+)
+
+(define-method position
+ (of-object "SpiceInputsChannel")
+ (c-name "spice_inputs_position")
+ (return-type "none")
+ (parameters
+ '("gint" "x")
+ '("gint" "y")
+ '("gint" "display")
+ '("gint" "button_state")
+ )
+)
+
+(define-method button_press
+ (of-object "SpiceInputsChannel")
+ (c-name "spice_inputs_button_press")
+ (return-type "none")
+ (parameters
+ '("gint" "button")
+ '("gint" "button_state")
+ )
+)
+
+(define-method button_release
+ (of-object "SpiceInputsChannel")
+ (c-name "spice_inputs_button_release")
+ (return-type "none")
+ (parameters
+ '("gint" "button")
+ '("gint" "button_state")
+ )
+)
+
+(define-method key_press
+ (of-object "SpiceInputsChannel")
+ (c-name "spice_inputs_key_press")
+ (return-type "none")
+ (parameters
+ '("guint" "keyval")
+ )
+)
+
+(define-method key_release
+ (of-object "SpiceInputsChannel")
+ (c-name "spice_inputs_key_release")
+ (return-type "none")
+ (parameters
+ '("guint" "keyval")
+ )
+)
+
+(define-method set_key_locks
+ (of-object "SpiceInputsChannel")
+ (c-name "spice_inputs_set_key_locks")
+ (return-type "none")
+ (parameters
+ '("guint" "locks")
+ )
+)
+
+(define-enum ClientError
+ (in-module "Spice")
+ (c-name "SpiceClientError")
+ (values
+ '("failed" "SPICE_CLIENT_ERROR_FAILED")
+ )
+)
+
+(define-function spice_audio_new
+ (c-name "spice_audio_new")
+ (is-constructor-of "SpiceAudio")
+ (return-type "SpiceAudio*")
+ (parameters
+ '("SpiceSession*" "session")
+ '("GMainContext*" "context")
+ '("const-char*" "name")
+ )
+)