summaryrefslogtreecommitdiffstats
path: root/src/uca-camera.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uca-camera.h')
-rw-r--r--src/uca-camera.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/uca-camera.h b/src/uca-camera.h
index 0370466..44770f1 100644
--- a/src/uca-camera.h
+++ b/src/uca-camera.h
@@ -29,6 +29,7 @@
#define UCA_CAMERA_ERROR uca_camera_error_quark()
typedef enum {
+ UCA_CAMERA_ERROR_NOT_FOUND,
UCA_CAMERA_ERROR_RECORDING,
UCA_CAMERA_ERROR_NOT_RECORDING,
UCA_CAMERA_ERROR_NO_GRAB_FUNC
@@ -74,6 +75,9 @@ struct _UcaCameraClass {
void (*recording_stopped) (UcaCamera *camera);
};
+gchar **uca_camera_get_types();
+UcaCamera *uca_camera_new(const gchar *type, GError **error);
+
void uca_camera_start_recording(UcaCamera *camera, GError **error);
void uca_camera_stop_recording(UcaCamera *camera, GError **error);
void uca_camera_grab(UcaCamera *camera, gpointer data, GError **error);