diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-04-24 17:18:21 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-04-24 17:18:21 +0200 |
commit | 4a73ba1bcee84666169dc3acc646fd49b533f715 (patch) | |
tree | 3308021b9256e73dc7f80c4363246aa026293c8c /src/cameras/uca-mock-camera.c | |
parent | 1b5138f0adb94d1500aa5314a7539019c9c1414b (diff) | |
download | uca-4a73ba1bcee84666169dc3acc646fd49b533f715.tar.gz uca-4a73ba1bcee84666169dc3acc646fd49b533f715.tar.bz2 uca-4a73ba1bcee84666169dc3acc646fd49b533f715.tar.xz uca-4a73ba1bcee84666169dc3acc646fd49b533f715.zip |
Add trigger mode and trigger method
Diffstat (limited to 'src/cameras/uca-mock-camera.c')
-rw-r--r-- | src/cameras/uca-mock-camera.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cameras/uca-mock-camera.c b/src/cameras/uca-mock-camera.c index 1c2ea91..6f3344f 100644 --- a/src/cameras/uca-mock-camera.c +++ b/src/cameras/uca-mock-camera.c @@ -35,6 +35,7 @@ static const gint mock_overrideables[] = { PROP_SENSOR_HORIZONTAL_BINNINGS, PROP_SENSOR_VERTICAL_BINNING, PROP_SENSOR_VERTICAL_BINNINGS, + PROP_TRIGGER_MODE, PROP_EXPOSURE_TIME, PROP_ROI_X, PROP_ROI_Y, @@ -283,6 +284,9 @@ static void uca_mock_camera_get_property(GObject *object, guint property_id, GVa case PROP_EXPOSURE_TIME: g_value_set_double(value, 0.001); break; + case PROP_TRIGGER_MODE: + g_value_set_enum(value, UCA_CAMERA_TRIGGER_AUTO); + break; case PROP_ROI_X: g_value_set_uint(value, 0); break; |