diff options
author | Matthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de> | 2011-02-28 11:32:44 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de> | 2011-02-28 11:32:44 +0100 |
commit | 49cf589ca2fdcbd9ff55ae70040d6d52c57a3fb1 (patch) | |
tree | 589601f08f4b0fff66786f14cc60ed17dfaa096b /src/uca.c | |
parent | cdca4954a292dc53b67fa616bad94ad9c2f31e54 (diff) | |
download | uca-49cf589ca2fdcbd9ff55ae70040d6d52c57a3fb1.tar.gz uca-49cf589ca2fdcbd9ff55ae70040d6d52c57a3fb1.tar.bz2 uca-49cf589ca2fdcbd9ff55ae70040d6d52c57a3fb1.tar.xz uca-49cf589ca2fdcbd9ff55ae70040d6d52c57a3fb1.zip |
Add camera state and accessor function
Diffstat (limited to 'src/uca.c')
-rw-r--r-- | src/uca.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -79,6 +79,11 @@ void uca_destroy(struct uca_t *uca) } } +enum uca_cam_state uca_get_camera_state(struct uca_camera_t *cam) +{ + return cam->state; +} + static struct uca_property_t property_map[UCA_PROP_LAST+1] = { { "name", uca_na, uca_string }, { "width", uca_pixel, uca_uint32t }, |