summaryrefslogtreecommitdiffstats
path: root/src/uca-camera.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-03-04 20:30:31 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-03-04 20:30:31 +0100
commitc0c5007a5424b0668886bdc62ff74b275cd8be60 (patch)
tree878aa3cb603ef29deaa110e8681de1ed956fed43 /src/uca-camera.c
parentcf05bc395e1604dab0ad9ae7f0c70f7bd5aa09a7 (diff)
downloaduca-c0c5007a5424b0668886bdc62ff74b275cd8be60.tar.gz
uca-c0c5007a5424b0668886bdc62ff74b275cd8be60.tar.bz2
uca-c0c5007a5424b0668886bdc62ff74b275cd8be60.tar.xz
uca-c0c5007a5424b0668886bdc62ff74b275cd8be60.zip
Add callback func and change data to gpointer
Diffstat (limited to 'src/uca-camera.c')
-rw-r--r--src/uca-camera.c7
1 files changed, 6 insertions, 1 deletions
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));