From c0c5007a5424b0668886bdc62ff74b275cd8be60 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Sun, 4 Mar 2012 20:30:31 +0100 Subject: Add callback func and change data to gpointer --- src/uca-camera.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/uca-camera.c') diff --git a/src/uca-camera.c b/src/uca-camera.c index 00bda82..7079279 100644 --- a/src/uca-camera.c +++ b/src/uca-camera.c @@ -220,7 +220,12 @@ void uca_camera_stop_recording(UcaCamera *camera, GError **error) g_signal_emit_by_name(G_OBJECT(camera), "recording-stopped"); } -void uca_camera_grab(UcaCamera *camera, gchar *data, GError **error) +void uca_camera_set_grab_func(UcaCamera *camera, UcaCameraGrabFunc func) +{ + /* TODO: implement */ +} + +void uca_camera_grab(UcaCamera *camera, gpointer data, GError **error) { g_return_if_fail(UCA_IS_CAMERA(camera)); -- cgit v1.2.3