From bf0350423caba9fb9f04103d18032a9a4ce912dd Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Thu, 26 Jan 2012 15:12:01 +0100 Subject: Add a USB device selection widget This patch adds a SpiceUsbDeviceWidget which apps can use to easily add an UI to select USB devices to redirect (or unredirect). See spicy for an example usage. Signed-off-by: Hans de Goede --- doc/reference/spice-gtk-docs.xml | 1 + doc/reference/spice-gtk-sections.txt | 18 ++++++++++++++++++ doc/reference/spice-gtk.types | 2 ++ 3 files changed, 21 insertions(+) (limited to 'doc/reference') diff --git a/doc/reference/spice-gtk-docs.xml b/doc/reference/spice-gtk-docs.xml index 2b4336d..82cdce8 100644 --- a/doc/reference/spice-gtk-docs.xml +++ b/doc/reference/spice-gtk-docs.xml @@ -42,6 +42,7 @@ GTK Widget, from spice-client-gtk + diff --git a/doc/reference/spice-gtk-sections.txt b/doc/reference/spice-gtk-sections.txt index 870352d..5e3af99 100644 --- a/doc/reference/spice-gtk-sections.txt +++ b/doc/reference/spice-gtk-sections.txt @@ -341,6 +341,24 @@ spice_display_key_event_get_type SpiceDisplayPrivate +
+usb-device-widget +SpiceUsbDeviceWidget +SpiceUsbDeviceWidget +SpiceUsbDeviceWidgetClass + +spice_usb_device_widget_new + +SPICE_USB_DEVICE_WIDGET +SPICE_IS_USB_DEVICE_WIDGET +spice_usb_device_widget_get_type +SPICE_USB_DEVICE_WIDGET_CLASS +SPICE_IS_USB_DEVICE_WIDGET_CLASS +SPICE_USB_DEVICE_WIDGET_GET_CLASS + +SpiceUsbDeviceWidgetPrivate +
+
spice-util spice_util_set_debug diff --git a/doc/reference/spice-gtk.types b/doc/reference/spice-gtk.types index a88ece1..ff80277 100644 --- a/doc/reference/spice-gtk.types +++ b/doc/reference/spice-gtk.types @@ -18,6 +18,7 @@ #include "spice-grabsequence.h" #include "smartcard-manager.h" #include "usb-device-manager.h" +#include "usb-device-widget.h" spice_audio_get_type spice_channel_event_get_type @@ -40,3 +41,4 @@ spice_session_verify_get_type spice_usbredir_channel_get_type spice_usb_device_get_type spice_usb_device_manager_get_type +spice_usb_device_widget_get_type -- cgit v1.2.3