From e26a093b4036083f13265bcbde5eae442d502377 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 1 Mar 2012 17:23:14 +0100 Subject: First draft at clean pco object construction --- src/uca-camera.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/uca-camera.h') diff --git a/src/uca-camera.h b/src/uca-camera.h index 29010c6..1d66d8f 100644 --- a/src/uca-camera.h +++ b/src/uca-camera.h @@ -37,14 +37,14 @@ struct _UcaCameraInterface { /*< private >*/ GTypeInterface parent; - void (*start_recording) (UcaCamera *camera); - void (*stop_recording) (UcaCamera *camera); - void (*grab) (UcaCamera *camera, gchar *data); + void (*start_recording) (UcaCamera *camera, GError **error); + void (*stop_recording) (UcaCamera *camera, GError **error); + void (*grab) (UcaCamera *camera, gchar *data, GError **error); }; -void uca_camera_start_recording(UcaCamera *camera); -void uca_camera_stop_recording(UcaCamera *camera); -void uca_camera_grab(UcaCamera *camera, gchar *data); +void uca_camera_start_recording(UcaCamera *camera, GError **error); +void uca_camera_stop_recording(UcaCamera *camera, GError **error); +void uca_camera_grab(UcaCamera *camera, gchar *data, GError **error); GType uca_camera_get_type(void); -- cgit v1.2.3