2
* fprint_demo: Demonstration of libfprint's capabilities
3
* Copyright (C) 2007 Daniel Drake <dsd@gentoo.org>
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License along
16
* with this program; if not, write to the Free Software Foundation, Inc.,
17
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20
#ifndef __FPRINT_DEMO_H__
21
#define __FPRINT_DEMO_H__
24
#include <gdk-pixbuf/gdk-pixbuf.h>
25
#include <libfprint/fprint.h>
28
extern struct fp_dev *fpdev;
29
extern struct fp_dscv_print **fp_dscv_prints;
30
extern GtkWidget *mwin_window;
31
const char *fingerstr(enum fp_finger finger);
32
void pixbuf_destroy(guchar *pixels, gpointer data);
33
unsigned char *img_to_rgbdata(struct fp_img *img);
34
GdkPixbuf *img_to_pixbuf(struct fp_img *img);
35
void mwin_refresh_prints(void);
40
GtkWidget *(*create)(void);
41
void (*activate_dev)(void);
43
void (*refresh)(void);
46
extern struct fpd_tab enroll_tab;
47
extern struct fpd_tab verify_tab;
48
extern struct fpd_tab identify_tab;
49
extern struct fpd_tab img_tab;