diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-10-16 12:40:18 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-10-16 12:40:18 +0200 |
commit | de2e8e3191eae37b91f672a03e028a35c8863c9d (patch) | |
tree | be30db890721ef2ba676fad75d081184f03f2c90 /src | |
parent | d8743d20b93d34497183d05ccb17519194ec5abb (diff) | |
download | uca-de2e8e3191eae37b91f672a03e028a35c8863c9d.tar.gz uca-de2e8e3191eae37b91f672a03e028a35c8863c9d.tar.bz2 uca-de2e8e3191eae37b91f672a03e028a35c8863c9d.tar.xz uca-de2e8e3191eae37b91f672a03e028a35c8863c9d.zip |
Add temperature unit and descriptions for pco
Diffstat (limited to 'src')
-rw-r--r-- | src/uca-camera.c | 7 | ||||
-rw-r--r-- | src/uca-camera.h | 1 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/uca-camera.c b/src/uca-camera.c index 2cf17ff..8b08359 100644 --- a/src/uca-camera.c +++ b/src/uca-camera.c @@ -56,10 +56,11 @@ GQuark uca_camera_error_quark() /** * UcaUnit: * @UCA_UNIT_NA: Not applicable - * @UCA_UNIT_METER: SI meter - * @UCA_UNIT_SECOND: SI second + * @UCA_UNIT_METER: Length in SI meter + * @UCA_UNIT_SECOND: Time in SI second * @UCA_UNIT_PIXEL: Number of pixels in one dimension - * @UCA_UNIT_COUNT: Number + * @UCA_UNIT_DEGREE_CELSIUS: Temperature in degree Celsius + * @UCA_UNIT_COUNT: Generic number * * Units should be registered by camera implementations using * uca_camera_register_unit() and can be queried by client programs with diff --git a/src/uca-camera.h b/src/uca-camera.h index 4aad0b4..d84b5f2 100644 --- a/src/uca-camera.h +++ b/src/uca-camera.h @@ -54,6 +54,7 @@ typedef enum { UCA_UNIT_METER, UCA_UNIT_SECOND, UCA_UNIT_PIXEL, + UCA_UNIT_DEGREE_CELSIUS, UCA_UNIT_COUNT } UcaUnit; |