From 2480178acbf97c72205d525d3d4d4f589477c2b0 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 16 Dec 2014 17:17:30 +0100 Subject: Add uca_camera_write to write arbitrary data This is necessary for cameras that provide a custom calibration. --- src/uca-camera.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/uca-camera.h') diff --git a/src/uca-camera.h b/src/uca-camera.h index 62a6c89..156df8b 100644 --- a/src/uca-camera.h +++ b/src/uca-camera.h @@ -135,6 +135,7 @@ struct _UcaCameraClass { void (*start_readout) (UcaCamera *camera, GError **error); void (*stop_readout) (UcaCamera *camera, GError **error); void (*trigger) (UcaCamera *camera, GError **error); + void (*write) (UcaCamera *camera, const gchar *name, gpointer data, gsize size, GError **error); gboolean (*grab) (UcaCamera *camera, gpointer data, GError **error); }; @@ -151,6 +152,11 @@ void uca_camera_stop_readout (UcaCamera *camera, GError **error); void uca_camera_trigger (UcaCamera *camera, GError **error); +void uca_camera_write (UcaCamera *camera, + const gchar *name, + gpointer data, + gsize size, + GError **error); gboolean uca_camera_grab (UcaCamera *camera, gpointer data, GError **error) -- cgit v1.2.3