summaryrefslogtreecommitdiffstats
path: root/src/uca-camera.h
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-04-19 16:48:56 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-04-19 16:48:56 +0200
commit8abab6618860f9d8688a4653de258c8673bfc662 (patch)
treeabf0b6fe966c535ebdb33eb21ee87d99e6678877 /src/uca-camera.h
parentb7b8f2fe74b02780774c51f740519469982231a1 (diff)
parent42e3c64fa57039d7673c61f909b5fd40a437bdfd (diff)
downloaduca-8abab6618860f9d8688a4653de258c8673bfc662.tar.gz
uca-8abab6618860f9d8688a4653de258c8673bfc662.tar.bz2
uca-8abab6618860f9d8688a4653de258c8673bfc662.tar.xz
uca-8abab6618860f9d8688a4653de258c8673bfc662.zip
Merge branch 'rewrite-props'
Diffstat (limited to 'src/uca-camera.h')
-rw-r--r--src/uca-camera.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/uca-camera.h b/src/uca-camera.h
index c755fe6..c50ca85 100644
--- a/src/uca-camera.h
+++ b/src/uca-camera.h
@@ -44,6 +44,33 @@ typedef struct _UcaCamera UcaCamera;
typedef struct _UcaCameraClass UcaCameraClass;
typedef struct _UcaCameraPrivate UcaCameraPrivate;
+enum {
+ PROP_0 = 0,
+ PROP_SENSOR_WIDTH,
+ PROP_SENSOR_HEIGHT,
+ PROP_SENSOR_BITDEPTH,
+ PROP_SENSOR_HORIZONTAL_BINNING,
+ PROP_SENSOR_HORIZONTAL_BINNINGS,
+ PROP_SENSOR_VERTICAL_BINNING,
+ PROP_SENSOR_VERTICAL_BINNINGS,
+ PROP_SENSOR_MAX_FRAME_RATE,
+ PROP_EXPOSURE_TIME,
+ PROP_ROI_X,
+ PROP_ROI_Y,
+ PROP_ROI_WIDTH,
+ PROP_ROI_HEIGHT,
+ PROP_HAS_STREAMING,
+ PROP_HAS_CAMRAM_RECORDING,
+
+ /* These properties are handled internally */
+ PROP_TRANSFER_ASYNCHRONOUSLY,
+ PROP_IS_RECORDING,
+ PROP_IS_READOUT,
+ N_BASE_PROPERTIES
+};
+
+const gchar *uca_camera_props[N_BASE_PROPERTIES];
+
/**
* UcaCameraGrabFunc:
* @data: a pointer to the raw data