summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/uca-camera.c1
-rw-r--r--src/uca-camera.h3
2 files changed, 3 insertions, 1 deletions
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 {