summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/uca-camera.c2
-rw-r--r--src/uca-camera.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/uca-camera.c b/src/uca-camera.c
index 99ff51e..48a35b1 100644
--- a/src/uca-camera.c
+++ b/src/uca-camera.c
@@ -66,6 +66,8 @@ G_DEFINE_TYPE(UcaCamera, uca_camera, G_TYPE_OBJECT)
* 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.
+ * @UCA_CAMERA_ERROR_DEVICE: Device-specific error. This is used if the plugin
+ * does not use its own error codes.
*/
GQuark uca_camera_error_quark()
{
diff --git a/src/uca-camera.h b/src/uca-camera.h
index 23d1915..59443b2 100644
--- a/src/uca-camera.h
+++ b/src/uca-camera.h
@@ -45,7 +45,8 @@ typedef enum {
UCA_CAMERA_ERROR_NOT_IMPLEMENTED,
UCA_CAMERA_ERROR_WRONG_WRITE_METADATA,
UCA_CAMERA_ERROR_END_OF_STREAM,
- UCA_CAMERA_ERROR_TIMEOUT
+ UCA_CAMERA_ERROR_TIMEOUT,
+ UCA_CAMERA_ERROR_DEVICE,
} UcaCameraError;
typedef enum {