From ab58c837e285f16b639444865c47c0bc286ed4e7 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Mon, 1 Aug 2011 11:58:03 +0100 Subject: CameraMonitor: add API to get all cameras --- libempathy/empathy-camera-monitor.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libempathy/empathy-camera-monitor.h') diff --git a/libempathy/empathy-camera-monitor.h b/libempathy/empathy-camera-monitor.h index d2d9bb89e..19fbafa2e 100644 --- a/libempathy/empathy-camera-monitor.h +++ b/libempathy/empathy-camera-monitor.h @@ -46,11 +46,20 @@ struct _EmpathyCameraMonitorClass GObjectClass parent_class; }; +typedef struct +{ + gchar *id; + gchar *device; + gchar *name; +} EmpathyCamera; + GType empathy_camera_monitor_get_type (void) G_GNUC_CONST; EmpathyCameraMonitor *empathy_camera_monitor_dup_singleton (void); gboolean empathy_camera_monitor_get_available (EmpathyCameraMonitor *self); +const GList * empathy_camera_monitor_get_cameras (EmpathyCameraMonitor *self); + G_END_DECLS #endif /* __EMPATHY_CAMERA_MONITOR_H__ */ -- cgit v1.2.3