Add a done argument to result signals

For verify and enroll, add a done argument so that front-end
know easily when they should be closing the device.
This commit is contained in:
Bastien Nocera
2008-11-21 10:26:06 +00:00
committed by Daniel Drake
parent 0636c77962
commit 26aab5dc28
8 changed files with 39 additions and 22 deletions

View File

@ -1,8 +1,8 @@
BUILT_SOURCES = manager-dbus-glue.h device-dbus-glue.h
BUILT_SOURCES = manager-dbus-glue.h device-dbus-glue.h $(MARSHALFILES)
noinst_HEADERS = $(BUILT_SOURCES)
CLEANFILES = $(BUILT_SOURCES)
EXTRA_DIST = manager.xml device.xml
EXTRA_DIST = manager.xml device.xml fprintd-marshal.list
libexec_PROGRAMS = fprintd
@ -11,7 +11,8 @@ fprintd_SOURCES = \
manager.c \
device.c \
file_storage.c file_storage.h storage.h \
egg-dbus-monitor.c egg-dbus-monitor.h
egg-dbus-monitor.c egg-dbus-monitor.h \
$(MARSHALFILES)
fprintd_LDADD = $(FPRINT_LIBS) $(DAEMON_LIBS)
fprintd_CFLAGS = $(WARN_CFLAGS) $(FPRINT_CFLAGS) $(DAEMON_CFLAGS) -DLOCALEDIR=\""$(datadir)/locale"\" -DPLUGINDIR=\""$(libdir)/fprintd/modules"\"
@ -22,3 +23,11 @@ manager-dbus-glue.h: manager.xml
device-dbus-glue.h: device.xml
dbus-binding-tool --prefix=fprint_device --mode=glib-server $< --output=$@
MARSHALFILES = fprintd-marshal.c fprintd-marshal.h
GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
fprintd-marshal.h: fprintd-marshal.list
( $(GLIB_GENMARSHAL) --prefix=fprintd_marshal $(srcdir)/fprintd-marshal.list --header > fprintd-marshal.h )
fprintd-marshal.c: fprintd-marshal.h
( $(GLIB_GENMARSHAL) --prefix=fprintd_marshal $(srcdir)/fprintd-marshal.list --body --header > fprintd-marshal.c )