From 070a3488a5dc242dc3312f957ef21588c02b03e2 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Wed, 13 Jul 2016 12:27:00 +0200 Subject: Add TIMEOUT error code --- src/uca-camera.c | 1 + src/uca-camera.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/uca-camera.c b/src/uca-camera.c index cf37017..8d83b2c 100644 --- a/src/uca-camera.c +++ b/src/uca-camera.c @@ -64,6 +64,7 @@ G_DEFINE_TYPE(UcaCamera, uca_camera, G_TYPE_OBJECT) * @UCA_CAMERA_ERROR_NOT_IMPLEMENTED: Virtual function is not implemented * @UCA_CAMERA_ERROR_WRONG_WRITE_METADATA: Meta data specified in the name * argument of the write method is not correct. + * @UCA_CAMERA_ERROR_TIMEOUT: Generic timeout error * @UCA_CAMERA_ERROR_END_OF_STREAM: Data stream has ended. */ GQuark uca_camera_error_quark() diff --git a/src/uca-camera.h b/src/uca-camera.h index 4a8db48..23d1915 100644 --- a/src/uca-camera.h +++ b/src/uca-camera.h @@ -44,7 +44,8 @@ typedef enum { UCA_CAMERA_ERROR_NO_GRAB_FUNC, UCA_CAMERA_ERROR_NOT_IMPLEMENTED, UCA_CAMERA_ERROR_WRONG_WRITE_METADATA, - UCA_CAMERA_ERROR_END_OF_STREAM + UCA_CAMERA_ERROR_END_OF_STREAM, + UCA_CAMERA_ERROR_TIMEOUT } UcaCameraError; typedef enum { -- cgit v1.2.3