diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-04-17 11:29:26 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-04-17 11:29:26 +0200 |
commit | 0a9c6f047db1f5244f1569d7bb9a0a6097f5620f (patch) | |
tree | 909d62e6e3610587c223cf480ae206aceb05c7da /src/cameras/uca-mock-camera.c | |
parent | 9a9d460d500c3ed1aec25a5a9bc6b14b13612e75 (diff) | |
download | libuca-0a9c6f047db1f5244f1569d7bb9a0a6097f5620f.tar.gz libuca-0a9c6f047db1f5244f1569d7bb9a0a6097f5620f.tar.bz2 libuca-0a9c6f047db1f5244f1569d7bb9a0a6097f5620f.tar.xz libuca-0a9c6f047db1f5244f1569d7bb9a0a6097f5620f.zip |
Add prelimary UFO camera support
Diffstat (limited to 'src/cameras/uca-mock-camera.c')
-rw-r--r-- | src/cameras/uca-mock-camera.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cameras/uca-mock-camera.c b/src/cameras/uca-mock-camera.c index 0198b9f..e573d21 100644 --- a/src/cameras/uca-mock-camera.c +++ b/src/cameras/uca-mock-camera.c @@ -31,6 +31,7 @@ enum { PROP_SENSOR_HORIZONTAL_BINNINGS, PROP_SENSOR_VERTICAL_BINNING, PROP_SENSOR_VERTICAL_BINNINGS, + PROP_EXPOSURE_TIME, PROP_ROI_X, PROP_ROI_Y, PROP_ROI_WIDTH, @@ -52,6 +53,7 @@ static const gchar *mock_overrideables[N_PROPERTIES] = { "sensor-horizontal-binnings", "sensor-vertical-binning", "sensor-vertical-binnings", + "exposure-time", "roi-x", "roi-y", "roi-width", @@ -204,6 +206,9 @@ static void uca_mock_camera_get_property(GObject *object, guint property_id, GVa case PROP_SENSOR_VERTICAL_BINNINGS: g_value_set_boxed(value, priv->binnings); break; + case PROP_EXPOSURE_TIME: + g_value_set_double(value, 0.001); + break; case PROP_ROI_X: g_value_set_uint(value, 0); break; |