Move to object oriented model

There is now a single Manager class shared between all apps.
Apps then share a collection of Device objects.
This commit is contained in:
Daniel Drake
2008-03-05 20:00:28 +00:00
parent 98c936dbdd
commit 080e427651
10 changed files with 813 additions and 653 deletions

View File

@ -1,4 +1,4 @@
BUILT_SOURCES = client-bindings.h
BUILT_SOURCES = manager-dbus-glue.h device-dbus-glue.h
noinst_HEADERS = $(BUILT_SOURCES)
CLEANFILES = $(BUILT_SOURCES)
@ -8,7 +8,9 @@ demo_SOURCES = demo.c
demo_CFLAGS = $(AM_CFLAGS) $(DBUS_GLIB_CFLAGS)
demo_LDADD = $(DBUS_GLIB_LIBS)
client-bindings.h: ../src/fprintd.xml
dbus-binding-tool --prefix=fprint --mode=glib-client $< --output=$@
manager-dbus-glue.h: ../src/manager.xml
dbus-binding-tool --prefix=fprint_manager --mode=glib-client $< --output=$@
device-dbus-glue.h: ../src/device.xml
dbus-binding-tool --prefix=fprint_device --mode=glib-client $< --output=$@