[cheese] cheese-camera-device: Add introspection annotation



commit 4ac659e37f90da8308c470d28fef9dfce598ff52
Author: Luciana Fujii Pontello <luciana fujii eti br>
Date:   Wed Mar 9 16:57:22 2011 -0300

    cheese-camera-device: Add introspection annotation

 libcheese/cheese-camera-device.c |   44 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 44 insertions(+), 0 deletions(-)
---
diff --git a/libcheese/cheese-camera-device.c b/libcheese/cheese-camera-device.c
index cb02c33..487b48d 100644
--- a/libcheese/cheese-camera-device.c
+++ b/libcheese/cheese-camera-device.c
@@ -568,6 +568,13 @@ cheese_camera_device_new (const gchar *device_id,
 
 /* public methods */
 
+/**
+ * cheese_camera_device_get_format_list:
+ * @device: a #CheeseCameraDevice
+ *
+ * Returns: (element-type Cheese.VideoFormat) (transfer container): List of #CheeseVideoFormat
+ */
+
 GList *
 cheese_camera_device_get_format_list (CheeseCameraDevice *device)
 {
@@ -577,6 +584,13 @@ cheese_camera_device_get_format_list (CheeseCameraDevice *device)
   return g_list_sort (g_list_copy (priv->formats), compare_formats);
 }
 
+/**
+ * cheese_camera_device_get_name:
+ * @device: a #CheeseCameraDevice
+ *
+ * Returns: (transfer none)
+ */
+
 const gchar *
 cheese_camera_device_get_name (CheeseCameraDevice *device)
 {
@@ -586,6 +600,12 @@ cheese_camera_device_get_name (CheeseCameraDevice *device)
   return priv->name;
 }
 
+/** cheese_camera_device_get_id:
+ * @device: a #CheeseCameraDevice
+ *
+ * Returns: (transfer none)
+ */
+
 const gchar *
 cheese_camera_device_get_id (CheeseCameraDevice *device)
 {
@@ -595,6 +615,12 @@ cheese_camera_device_get_id (CheeseCameraDevice *device)
   return priv->id;
 }
 
+/** cheese_camera_device_get_src:
+ * @device: a #CheeseCameraDevice
+ *
+ * Returns: (transfer none)
+ */
+
 const gchar *
 cheese_camera_device_get_src (CheeseCameraDevice *device)
 {
@@ -604,6 +630,12 @@ cheese_camera_device_get_src (CheeseCameraDevice *device)
   return priv->src;
 }
 
+/** cheese_camera_device_get_device_file:
+ * @device: a #CheeseCameraDevice
+ *
+ * Returns: (transfer none)
+ */
+
 const gchar *
 cheese_camera_device_get_device_file (CheeseCameraDevice *device)
 {
@@ -613,6 +645,12 @@ cheese_camera_device_get_device_file (CheeseCameraDevice *device)
   return priv->device;
 }
 
+/** cheese_camera_device_get_device_file:
+ * @device: a #CheeseCameraDevice
+ *
+ * Returns: (transfer full): a #CheeseVideoFormat
+ */
+
 CheeseVideoFormat *
 cheese_camera_device_get_best_format (CheeseCameraDevice *device)
 {
@@ -623,6 +661,12 @@ cheese_camera_device_get_best_format (CheeseCameraDevice *device)
   return format;
 }
 
+/** cheese_camera_device_get_device_file:
+ * @device: a #CheeseCameraDevice
+ *
+ * Returns: (transfer full)
+ */
+
 GstCaps *
 cheese_camera_device_get_caps_for_format (CheeseCameraDevice *device,
                                           CheeseVideoFormat  *format)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]