diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-02-03 16:14:18 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-02-03 16:14:18 +0100 |
commit | 85546868f4df692803d21ddbaa20673fd8b5be0b (patch) | |
tree | 8a8079c69adf483b6ab2dd435faf1ba72191287c /src/uca-cam.h | |
parent | 0da06d904850330f583e1e8cdededcf6aa8cbe29 (diff) | |
download | libuca-85546868f4df692803d21ddbaa20673fd8b5be0b.tar.gz libuca-85546868f4df692803d21ddbaa20673fd8b5be0b.tar.bz2 libuca-85546868f4df692803d21ddbaa20673fd8b5be0b.tar.xz libuca-85546868f4df692803d21ddbaa20673fd8b5be0b.zip |
Typedef types
Diffstat (limited to 'src/uca-cam.h')
-rw-r--r-- | src/uca-cam.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/uca-cam.h b/src/uca-cam.h index 08b7941..5535dd0 100644 --- a/src/uca-cam.h +++ b/src/uca-cam.h @@ -57,8 +57,8 @@ struct uca_camera_priv *uca_cam_new(void); typedef struct uca_camera_priv { /* virtual methods to be overridden by concrete cameras */ uint32_t (*destroy) (struct uca_camera_priv *cam); - uint32_t (*set_property) (struct uca_camera_priv *cam, enum uca_property_ids property, void *data); - uint32_t (*get_property) (struct uca_camera_priv *cam, enum uca_property_ids property, void *data, size_t num); + uint32_t (*set_property) (struct uca_camera_priv *cam, uca_property_ids property, void *data); + uint32_t (*get_property) (struct uca_camera_priv *cam, uca_property_ids property, void *data, size_t num); uint32_t (*start_recording) (struct uca_camera_priv *cam); uint32_t (*stop_recording) (struct uca_camera_priv *cam); uint32_t (*trigger) (struct uca_camera_priv *cam); @@ -68,7 +68,7 @@ typedef struct uca_camera_priv { uint32_t (*readout) (struct uca_camera_priv *cam); struct uca_grabber_priv *grabber; /**< grabber associated with this camera */ - enum uca_cam_state state; /**< camera state handled in uca.c */ + uca_cam_state state; /**< camera state handled in uca.c */ uint32_t frame_width; /**< current frame width */ uint32_t frame_height; /**< current frame height */ uint64_t current_frame; /**< last grabbed frame number */ |