[aravis] genicam: create boolean nodes.



commit 8edac7abab4a5654286bad2b7de330a1262e1895
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Tue May 18 20:40:40 2010 +0200

    genicam: create boolean nodes.

 src/arvgc.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/arvgc.c b/src/arvgc.c
index 6dc261c..2dae7cf 100644
--- a/src/arvgc.c
+++ b/src/arvgc.c
@@ -30,6 +30,7 @@
 #include <arvgccommand.h>
 #include <arvgcinteger.h>
 #include <arvgcfloat.h>
+#include <arvgcboolean.h>
 #include <arvgcswissknife.h>
 #include <arvgcconverter.h>
 #include <arvgcport.h>
@@ -66,6 +67,8 @@ arv_gc_create_node (ArvGc *genicam, const char *type)
 		node = arv_gc_integer_node_new ();
 	else if (strcmp (type, "Float") == 0)
 		node = arv_gc_float_node_new ();
+	else if (strcmp (type, "Boolean") == 0)
+		node = arv_gc_boolean_new ();
 	else if (strcmp (type, "Enumeration") == 0)
 		node = arv_gc_enumeration_new ();
 	else if (strcmp (type, "EnumEntry") == 0)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]