summaryrefslogtreecommitdiff
path: root/src/ui/new_contact.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/new_contact.h')
-rw-r--r--src/ui/new_contact.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/ui/new_contact.h b/src/ui/new_contact.h
index 7a7ff96..dd04cce 100644
--- a/src/ui/new_contact.h
+++ b/src/ui/new_contact.h
@@ -29,14 +29,19 @@
#include <cairo/cairo.h>
#include <gdk/gdkpixbuf.h>
+#include <gstreamer-1.0/gst/gst.h>
#include <pthread.h>
-#include <zbar.h>
typedef struct UI_NEW_CONTACT_Handle
{
- zbar_video_t *video;
- zbar_image_t *image;
- zbar_image_scanner_t *scanner;
+ GstElement *pipeline;
+ GstElement *source;
+ GstElement *scanner;
+ GstElement *sink;
+
+ guint bus_watch;
+
+ GdkPixbuf *image;
GtkBuilder *builder;
GtkDialog *dialog;