Scanner infrastructure in freedesktop

Donald Straney burntfuse at gmail.com
Sun Feb 11 23:06:52 EET 2007


> Yes. Considering the work i did on SANE-GLib, i strongly suggest you not
> to mix dbus and SANE type. Confine SANE type around sane calls. People
> using imcad through dbus must not care about SANE types AND dbus types.

Right, I think we are talking about the same thing.  If the option
takes a SANE_Int, the program just has to send a dbus int32, which
gets converted to a SANE_Int internally (the same happens with a
boolean or string), and it doesn't have to deal at all with SANE
types.

Donald Straney



More information about the xdg mailing list