summaryrefslogtreecommitdiffstats
path: root/src/uca-camera.h
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2014-08-13 14:52:51 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2014-08-13 14:52:51 +0200
commitfa7e40e0f6b4c4669f17583d5194b05d5df9e742 (patch)
tree4ac0ac99502280cbed19c64c4040d60d960a253f /src/uca-camera.h
parent972bc48715450e61ae79c705b95ddabcc2b1bbc9 (diff)
parenta389a30e57a038dcfc83dc2814d56a4a1c9a6084 (diff)
downloaduca-fa7e40e0f6b4c4669f17583d5194b05d5df9e742.tar.gz
uca-fa7e40e0f6b4c4669f17583d5194b05d5df9e742.tar.bz2
uca-fa7e40e0f6b4c4669f17583d5194b05d5df9e742.tar.xz
uca-fa7e40e0f6b4c4669f17583d5194b05d5df9e742.zip
Merge pull request #42 from ufo-kit/fix-41-access-specifications
Fix #41 access specifications
Diffstat (limited to 'src/uca-camera.h')
-rw-r--r--src/uca-camera.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/uca-camera.h b/src/uca-camera.h
index f4030d6..d958870 100644
--- a/src/uca-camera.h
+++ b/src/uca-camera.h
@@ -31,9 +31,11 @@ G_BEGIN_DECLS
#define UCA_CAMERA_ERROR uca_camera_error_quark()
#define UCA_UNIT_QUARK uca_unit_quark()
+#define UCA_WRITABLE_QUARK uca_writable_quark()
GQuark uca_camera_error_quark(void);
GQuark uca_unit_quark(void);
+GQuark uca_writable_quark(void);
typedef enum {
UCA_CAMERA_ERROR_NOT_FOUND,
@@ -162,6 +164,13 @@ void uca_camera_register_unit (UcaCamera *camera,
UcaUnit unit);
UcaUnit uca_camera_get_unit (UcaCamera *camera,
const gchar *prop_name);
+void uca_camera_set_writable (UcaCamera *camera,
+ const gchar *prop_name,
+ gboolean writable);
+gboolean uca_camera_is_writable_during_acquisition
+ (UcaCamera *camera,
+ const gchar *prop_name);
+
GType uca_camera_get_type(void);