QOF iteration and callbacks
Linas Vepstas
linas at linas.org
Sun Jun 20 12:31:03 EDT 2004
On Sun, Jun 20, 2004 at 12:16:20PM -0400, Derek Atkins was heard to remark:
> > void qof_class_foreach (QofClassForeachCB, gpointer user_data);
>
> We already had qof_object_foreach_type(); why do we need a
> qof_class_foreach()?
I am thinking about merging object and class into one thing.
Maybe. Any remarks pro or con appreciated.
But right now, they're distinct, and in principle, just because
one is used doesn't mean the other is. The foreach-lists could
be different.
--linas
p.s. the consideration driving the 'merge' thoughts is that I need
to provide an API to declare how objects/class paramters map to
sql tables and fields. I've got an API that does this now, but its
not 'generic' and sufficiently abstracted yet.
--
pub 1024D/01045933 2001-02-01 Linas Vepstas (Labas!) <linas at linas.org>
PGP Key fingerprint = 8305 2521 6000 0B5E 8984 3F54 64A9 9A82 0104 5933
More information about the gnucash-devel
mailing list