[peticolas@linas.org: GnuCash Daily Source Diff]

Linas Vepstas linas@linas.org
Thu, 30 May 2002 18:14:41 -0500


----- 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