Library structure

Chris Shoemaker c.shoemaker at cox.net
Fri Jan 20 20:01:34 EST 2006


On Fri, Jan 20, 2006 at 07:38:13PM -0500, David Hampton wrote:
> On Fri, 2006-01-20 at 18:24 -0500, Derek Atkins wrote:
> > Quoting Chris Shoemaker <c.shoemaker at cox.net>:
> > 
> > > Ok, I think I've talked myself into this conclusion: Any application
> > > initialization state that gets pulled from guile and used everywhere
> > > else shouldn't be kept in gnucash-bin.  Instead, gnucash-bin can call
> > > into libcore-utils and it can be stored there, where everyone else can
> > > see it without depending on gnucash-bin.
> > 
> > this is the right conclusion.
> 
> Agreed.
> 
> > Quoting Chris Shoemaker <c.shoemaker at cox.net>:
> > 
> > For example, imagine that I needed the
> > authoritative share_path from inside the engine, and that I could only
> > construct it in gnucash-bin, from the combination of build-time,
> > environment and command-line input.
> 
> Shouldn't we be using gnome_program_locate_file() for this?
> E.G. gnc_gnome_locate_pixmap() et. al. in gnc_gnome_utils.c

Probably.  I'll look into that when I get around to looking at what it
was used for.

-chris


More information about the gnucash-devel mailing list