summaryrefslogtreecommitdiffstats
path: root/src/uca-camera.h
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-03-01 17:23:14 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-03-01 17:23:14 +0100
commite26a093b4036083f13265bcbde5eae442d502377 (patch)
tree1fd30bbeba4eb7c7ee6d1c6d4f5e9593f30882da /src/uca-camera.h
parentb29c78f818ac92f42621c69c29736fe5c8e32c6f (diff)
downloadlibuca-e26a093b4036083f13265bcbde5eae442d502377.tar.gz
libuca-e26a093b4036083f13265bcbde5eae442d502377.tar.bz2
libuca-e26a093b4036083f13265bcbde5eae442d502377.tar.xz
libuca-e26a093b4036083f13265bcbde5eae442d502377.zip
First draft at clean pco object construction
Diffstat (limited to 'src/uca-camera.h')
-rw-r--r--src/uca-camera.h12
1 files changed, 6 insertions, 6 deletions
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);