Re: libgnomeprint cups backend vs libgnomecups

Danek Duvall <[email protected]> Fri, 18 Jun 2004 11:59:00 -0700
Newsgroups gmane.comp.gnome.print
Message-ID <[email protected]>
On Fri, Jun 18, 2004 at 02:47:16PM -0400, Colin Walters wrote:

> On Fri, 2004-06-18 at 14:28, Danek Duvall wrote:
>
> > 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.

Ah, okay.  Makes sense.

Thanks,
Danek