CVS update: gnucash/src/engine

Derek Atkins warlord@MIT.EDU
25 Nov 2001 14:23:44 -0500


linas@linas.org (Linas Vepstas) writes:

> > > Don't worry about trying to keep gnc-book 'clean'.  
> > 
> > I'm not sure what you mean by this, but ok ;)
> 
> don't worry about trying to keep the 'struct gnc_book' clean-looking,
> by hiding your stuff in 'private structures'

Oh, that.  I'm not.  I am, however, trying to keep the gnc-book
unaware of my private structures.  I'm not trying to hide them
from gnc-book necessarily; I am, however, trying to make an
extension mechanism so that gnc-book doesn't need to know about
"list of GncCustomer" and "list of GncInvoice" and so on for
any additional data types.

This way, down the road, someone can add a GncFoo data type and
plug it right into the gnc-book :)

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available