summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-07-13 12:27:00 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-07-13 12:27:20 +0200
commit070a3488a5dc242dc3312f957ef21588c02b03e2 (patch)
tree9d4385636b45ed66cbb746b792b2f8ea86b6204f /src
parent10fe7154f5e09cd42f718c327814921f0539d8a0 (diff)
downloadlibuca-070a3488a5dc242dc3312f957ef21588c02b03e2.tar.gz
libuca-070a3488a5dc242dc3312f957ef21588c02b03e2.tar.bz2
libuca-070a3488a5dc242dc3312f957ef21588c02b03e2.tar.xz
libuca-070a3488a5dc242dc3312f957ef21588c02b03e2.zip
Add TIMEOUT error code
Diffstat (limited to 'src')
-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 {