Library structure

David Hampton hampton-gnucash at rainbolthampton.net
Fri Jan 20 19:38:13 EST 2006


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

David
 



More information about the gnucash-devel mailing list