[peticolas@linas.org: GnuCash Daily Source Diff]
Derek Atkins
warlord@MIT.EDU
30 May 2002 19:18:47 -0400
I'll look at it later, but I don't want to move to using it now.
Perhaps for Gnucash 2.0. For Gnucash 1.8 I want to remain 100%
compatible with gnome 1.4 and glib 1.2. Keep in mind, however,
that gncObject could be easily reimplemented later. Right now
it's just a way to maintain a central repository of objects which
enables:
lookup by object-type
traversal of all object types
without requiring that you hard-code all objects into the system.
-derek
linas@linas.org (Linas Vepstas) writes:
> ----- Forwarded message from Dave Peticolas <peticolas@linas.org> -----
>
> +2002-05-24 Derek Atkins <derek@ihtfp.com>
> +
> + * Register GncObject_t descriptions for Splits, Transactions, and
> + Accounts. Move the QueryObject definitions into the actual module
> + sources for Transactions, Splits, Accounts, and Books. This
> + allows QueryNew searches for Splits, Transactions, and Accounts.
>
> Have you ever looked at glib-2.0 gobjects? They're an abstraction of
> gtk widgets, with the signals, and without the graphics. I'm looking at
> them because they support "attributes": I can get/set values by name,
> (i.e. by passing the ascii string containing the attribute name)
> (i.e. dynamically/run-time). They added this to support automatic
> marshaling/unmarshalling (for corba, I guess, and mono), but its more
> generally useful.
>
> Anyway ... casual suggestiong, before you commit too much to GncObject,
> take a look at glib gobj's; they might ift th bill.
>
> --linas
>
>
>
> --
> pub 1024D/01045933 2001-02-01 Linas Vepstas (Labas!) <linas@linas.org>
> PGP Key fingerprint = 8305 2521 6000 0B5E 8984 3F54 64A9 9A82 0104 5933
--
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