Re: libgnomeprint cups backend vs libgnomecups



On Fri, 2004-06-18 at 14:28, Danek Duvall wrote:
> On Fri, Jun 18, 2004 at 02:06:42PM -0400, Matthias Clasen wrote:
> 
> > Colin and I have been busy hacking the cups module in libgnomeprint to
> > make it use libgnomecups, which allows us to display and update printer
> > state information in the print dialog. 
> 
> So I'm not completely up on the complete printing architecture of GNOME, so
> this may be a stupid question, but why have both libgnomeprint and
> libgnomecups?  What purpose does it serve to abstract the CUPS API, and
> just the CUPS API, in a library?  

Two reasons:
1) It's a more GNOME-y API, using GObject, etc.
2) It implements polling.

> Would those abstractions or enhancements
> be better off in the CUPS API itself?

The polling could go into the CUPS API in theory.  But it'd be trickier
because CUPS can't directly use the glib mainloop, etc.

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]