From 85546868f4df692803d21ddbaa20673fd8b5be0b Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Fri, 3 Feb 2012 16:14:18 +0100 Subject: Typedef types --- src/uca-cam.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/uca-cam.h') 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 */ -- cgit v1.2.3