gEDA-dev: PCB DBus support code - 4
Peter Clifton
pcjc2 at cam.ac.uk
Fri Dec 1 14:37:48 EST 2006
Much work later, and I now have what I'd be prepared to accept as a
working version of DBus integration for PCB.
The patches I posted before are still necessary. It works under Lesstif
and GTK, (and any other suitable hid you'd care to invent which has
mainloop hooking functions).
I may still need to patch PCB to allow return-codes from its actions,
however if we are prepared to accept all operations succeed - we don't
ask PCB to load a file which has errors etc.., xgsch2pcb's main
requirement - of synchronisation is achieved.
Once this is in PCB, xgsch2pcb (DBus version) can progress to where it
was originally intended.
The opportunities for IPC are now far greater, and I hope to see similar
work in gschem able to access its scheme scripting. (I have no plans to
implement that just yet, as I'm enjoying tinkering with the drawing and
data-structures).
--
Peter Clifton
Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA
Tel: +44 (0)7729 980173 - (No signal in the lab!)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus.c
Type: text/x-csrc
Size: 11288 bytes
Desc: not available
Url : http://www.seul.org/pipermail/geda-dev/attachments/20061201/066cd86d/dbus-0001.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus.h
Type: text/x-chdr
Size: 1090 bytes
Desc: not available
Url : http://www.seul.org/pipermail/geda-dev/attachments/20061201/066cd86d/dbus-0001.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus.xml
Type: application/xml
Size: 826 bytes
Desc: not available
Url : http://www.seul.org/pipermail/geda-dev/attachments/20061201/066cd86d/dbus-0001.xml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-pcbmain.c
Type: text/x-csrc
Size: 9749 bytes
Desc: not available
Url : http://www.seul.org/pipermail/geda-dev/attachments/20061201/066cd86d/dbus-pcbmain-0001.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-pcbmain.o
Type: application/x-object
Size: 16408 bytes
Desc: not available
Url : http://www.seul.org/pipermail/geda-dev/attachments/20061201/066cd86d/dbus-pcbmain-0001.o
More information about the geda-dev
mailing list