From bbc279b61484fb073a6d0ab6cc368f26ded5f4d3 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Fri, 27 May 2011 15:04:07 +0200 Subject: Move cam_state to main include file --- src/uca.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/uca.h') diff --git a/src/uca.h b/src/uca.h index 4cd5991..bcab72f 100644 --- a/src/uca.h +++ b/src/uca.h @@ -186,6 +186,16 @@ enum uca_access_rights { uca_readwrite = 0x01 | 0x02 /**< property can be read and written */ }; +/** + * Describes the current state of the camera. + */ +enum uca_cam_state { + UCA_CAM_CONFIGURABLE, /**< Camera can be configured and is not recording */ + UCA_CAM_ARMED, /**< Camera is ready for recording */ + UCA_CAM_RECORDING, /**< Camera is currently recording */ +}; + + /** * A uca_property_t describes a vendor-independent property used by cameras and * frame grabbers. It basically consists of a human-readable name, a physical -- cgit v1.2.3