diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-10-19 14:29:29 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-10-19 14:29:29 +0200 |
commit | e4deaf621246d6e97950d56e244345c8e13a6044 (patch) | |
tree | f810240a769c659ca806714dc44ebd74d06c31bb | |
parent | f9c8476e1ce1a5089cd5fc7f4a40329e0c5a70b7 (diff) | |
download | libuca-e4deaf621246d6e97950d56e244345c8e13a6044.tar.gz libuca-e4deaf621246d6e97950d56e244345c8e13a6044.tar.bz2 libuca-e4deaf621246d6e97950d56e244345c8e13a6044.tar.xz libuca-e4deaf621246d6e97950d56e244345c8e13a6044.zip |
Store trigger mode
-rw-r--r-- | plugins/ufo/uca-ufo-camera.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/ufo/uca-ufo-camera.c b/plugins/ufo/uca-ufo-camera.c index 0b040c6..2b289a5 100644 --- a/plugins/ufo/uca-ufo-camera.c +++ b/plugins/ufo/uca-ufo-camera.c @@ -79,6 +79,7 @@ static gint base_overrideables[] = { PROP_ROI_HEIGHT_MULTIPLIER, PROP_HAS_STREAMING, PROP_HAS_CAMRAM_RECORDING, + PROP_TRIGGER_MODE, 0, }; @@ -338,6 +339,10 @@ uca_ufo_camera_set_property(GObject *object, guint property_id, const GValue *va g_debug("ROI feature not implemented yet"); break; + case PROP_TRIGGER_MODE: + priv->trigger = g_value_get_enum (value); + break; + default: { RegisterInfo *reg_info = g_hash_table_lookup (ufo_property_table, GINT_TO_POINTER (property_id)); @@ -435,6 +440,9 @@ uca_ufo_camera_get_property(GObject *object, guint property_id, GValue *value, G case PROP_NAME: g_value_set_string(value, "Ufo Camera w/ CMOSIS CMV2000"); break; + case PROP_TRIGGER_MODE: + g_value_set_enum (value, priv->trigger); + break; default: { RegisterInfo *reg_info = g_hash_table_lookup (ufo_property_table, GINT_TO_POINTER (property_id)); |