diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-03-01 17:23:14 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-03-01 17:23:14 +0100 |
commit | e26a093b4036083f13265bcbde5eae442d502377 (patch) | |
tree | 1fd30bbeba4eb7c7ee6d1c6d4f5e9593f30882da /src/cameras/uca-pco-camera.h | |
parent | b29c78f818ac92f42621c69c29736fe5c8e32c6f (diff) | |
download | uca-e26a093b4036083f13265bcbde5eae442d502377.tar.gz uca-e26a093b4036083f13265bcbde5eae442d502377.tar.bz2 uca-e26a093b4036083f13265bcbde5eae442d502377.tar.xz uca-e26a093b4036083f13265bcbde5eae442d502377.zip |
First draft at clean pco object construction
Diffstat (limited to 'src/cameras/uca-pco-camera.h')
-rw-r--r-- | src/cameras/uca-pco-camera.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cameras/uca-pco-camera.h b/src/cameras/uca-pco-camera.h index 336cbf6..68e92fa 100644 --- a/src/cameras/uca-pco-camera.h +++ b/src/cameras/uca-pco-camera.h @@ -27,6 +27,14 @@ #define UCA_IS_PCO_CAMERA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), UCA_TYPE_PCO_CAMERA)) #define UCA_PCO_CAMERA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), UCA_TYPE_PCO_CAMERA, UcaPcoCameraClass)) +#define UCA_PCO_CAMERA_ERROR uca_pco_camera_error_quark() +typedef enum { + UCA_PCO_CAMERA_ERROR_LIBPCO_INIT, + UCA_PCO_CAMERA_ERROR_UNSUPPORTED, + UCA_PCO_CAMERA_ERROR_FG_INIT, + UCA_PCO_CAMERA_ERROR_FG_ERROR +} UcaPcoCameraError; + typedef struct _UcaPcoCamera UcaPcoCamera; typedef struct _UcaPcoCameraClass UcaPcoCameraClass; typedef struct _UcaPcoCameraPrivate UcaPcoCameraPrivate; |